include help short option in processCmdLine (#7515)
This commit is contained in:
parent
1bd4560986
commit
e336e6609c
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ proc processCmdLine*(pass: TCmdLinePass, cmd: string) =
|
||||||
of cmdEnd: break
|
of cmdEnd: break
|
||||||
of cmdLongoption, cmdShortOption:
|
of cmdLongoption, cmdShortOption:
|
||||||
case p.key.normalize
|
case p.key.normalize
|
||||||
of "help":
|
of "help", "h":
|
||||||
stdout.writeline(Usage)
|
stdout.writeline(Usage)
|
||||||
quit()
|
quit()
|
||||||
of "port":
|
of "port":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue