Fix toast on Linux
This commit is contained in:
parent
b8b56f4ed2
commit
d7ca43f49f
1 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ proc parseCli() =
|
|||
for param in params:
|
||||
let flag = if param.len() <= 2: param else: param[0..<2]
|
||||
|
||||
if flag in ["-h", "--help", "-?", "/?", "/h"]:
|
||||
if flag in ["-h", "-?"]:
|
||||
echo HELP
|
||||
quit()
|
||||
elif flag == "-a":
|
||||
|
|
@ -139,4 +139,4 @@ proc parseCli() =
|
|||
else:
|
||||
process(param, mode, past, pretty, preprocess)
|
||||
|
||||
parseCli()
|
||||
parseCli()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue