diff options
Diffstat (limited to 'nimpretty/nimpretty.nim')
-rw-r--r-- | nimpretty/nimpretty.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nimpretty/nimpretty.nim b/nimpretty/nimpretty.nim index e0b27c231..aa6784c82 100644 --- a/nimpretty/nimpretty.nim +++ b/nimpretty/nimpretty.nim @@ -25,7 +25,7 @@ const Usage: nimpretty [options] file.nim Options: - --output:file set the output file (default: overwrite the input file) + --out:file set the output file (default: overwrite the input file) --indent:N[=0] set the number of spaces that is used for indentation --indent:0 means autodetection (default behaviour) --maxLineLen:N set the desired maximum line length (default: 80) @@ -79,7 +79,7 @@ proc main = of "help", "h": writeHelp() of "version", "v": writeVersion() of "backup": backup = parseBool(val) - of "output", "o": outfile = val + of "output", "o", "out": outfile = val of "indent": opt.indWidth = parseInt(val) of "maxlinelen": opt.maxLineLen = parseInt(val) else: writeHelp() |