put doAssert(false) at nimbus configuration cmdEnd
This commit is contained in:
parent
3f62d6638b
commit
6c891d08e6
|
@ -632,9 +632,7 @@ proc processArguments*(msg: var string): ConfigStatus =
|
||||||
checkArgument processNetArguments, key, value, msg
|
checkArgument processNetArguments, key, value, msg
|
||||||
checkArgument processDebugArguments, key, value, msg
|
checkArgument processDebugArguments, key, value, msg
|
||||||
of cmdEnd:
|
of cmdEnd:
|
||||||
msg = "Error processing option [" & key & "]"
|
doAssert(false)
|
||||||
result = ErrorParseOption
|
|
||||||
break
|
|
||||||
|
|
||||||
if config.net.bootNodes.len == 0:
|
if config.net.bootNodes.len == 0:
|
||||||
# No custom bootnodes were specified on the command line, restore to
|
# No custom bootnodes were specified on the command line, restore to
|
||||||
|
|
Loading…
Reference in New Issue