Fixed printing nimsuggest commandline help message (#6863)
This commit is contained in:
parent
1699d7c2a4
commit
c039bbf6e1
1 changed files with 3 additions and 0 deletions
|
|
@ -526,6 +526,9 @@ 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":
|
||||||
|
stdout.writeline(Usage)
|
||||||
|
quit()
|
||||||
of "port":
|
of "port":
|
||||||
gPort = parseInt(p.val).Port
|
gPort = parseInt(p.val).Port
|
||||||
gMode = mtcp
|
gMode = mtcp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue