mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 14:32:53 +00:00
include help short option in processCmdLine (#7515)
This commit is contained in:
@@ -526,7 +526,7 @@ proc processCmdLine*(pass: TCmdLinePass, cmd: string) =
|
||||
of cmdEnd: break
|
||||
of cmdLongoption, cmdShortOption:
|
||||
case p.key.normalize
|
||||
of "help":
|
||||
of "help", "h":
|
||||
stdout.writeline(Usage)
|
||||
quit()
|
||||
of "port":
|
||||
|
||||
Reference in New Issue
Block a user