put doAssert(false) at configuration cmdEnd

This commit is contained in:
andri lim 2019-03-19 08:35:37 +07:00
parent 32b1de082e
commit 3f62d6638b
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 3 deletions

View File

@ -46,6 +46,4 @@ proc processArguments*(msg: var string): ConfigStatus =
result = ErrorUnknownOption
break
of cmdEnd:
msg = "Error processing option [" & key & "]"
result = ErrorParseOption
break
doAssert(false)