From 6c891d08e6ba88196f5941701dff960295f11de0 Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 19 Mar 2019 08:55:30 +0700 Subject: [PATCH] put doAssert(false) at nimbus configuration cmdEnd --- nimbus/config.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nimbus/config.nim b/nimbus/config.nim index 2c5de41fc..6b1b5e549 100644 --- a/nimbus/config.nim +++ b/nimbus/config.nim @@ -632,9 +632,7 @@ proc processArguments*(msg: var string): ConfigStatus = checkArgument processNetArguments, key, value, msg checkArgument processDebugArguments, key, value, msg of cmdEnd: - msg = "Error processing option [" & key & "]" - result = ErrorParseOption - break + doAssert(false) if config.net.bootNodes.len == 0: # No custom bootnodes were specified on the command line, restore to