Fixed printing nimsuggest commandline help message (#6863)

This commit is contained in:
pqflx3
2017-12-02 14:40:00 -05:00
committed by Andreas Rumpf
parent 1699d7c2a4
commit c039bbf6e1

View File

@@ -526,6 +526,9 @@ proc processCmdLine*(pass: TCmdLinePass, cmd: string) =
of cmdEnd: break
of cmdLongoption, cmdShortOption:
case p.key.normalize
of "help":
stdout.writeline(Usage)
quit()
of "port":
gPort = parseInt(p.val).Port
gMode = mtcp