diff options
author | tofu <38903670+otofu-tofu@users.noreply.github.com> | 2019-04-04 13:09:01 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-04-04 15:09:01 +0200 |
commit | 94a21134e98d73733c49bf5594673d2fd3ba6d51 (patch) | |
tree | 106a05f59d95d7bd73a028b44e5ab80097a12d0a /nimpretty | |
parent | a990afcedcc4c7bd25008c9fa4fd3906b3716795 (diff) | |
download | Nim-94a21134e98d73733c49bf5594673d2fd3ba6d51.tar.gz |
fixes #9811 (#10961)
* fixed wrong default indent value (nimpretty) * fixed help message of nimpretty
Diffstat (limited to 'nimpretty')
-rw-r--r-- | nimpretty/nimpretty.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nimpretty/nimpretty.nim b/nimpretty/nimpretty.nim index fc7eeba40..3e06ccff3 100644 --- a/nimpretty/nimpretty.nim +++ b/nimpretty/nimpretty.nim @@ -26,7 +26,8 @@ Usage: nimpretty [options] file.nim Options: --output:file set the output file (default: overwrite the input file) - --indent:N[=2] set the number of spaces that is used for indentation + --indent:N[=0] set the number of spaces that is used for indentation + --indent:0 means autodetection (default behaviour) --version show the version --help show this help """ |