summary refs log tree commit diff stats
path: root/nimpretty
diff options
context:
space:
mode:
authortofu <38903670+otofu-tofu@users.noreply.github.com>2019-04-04 13:09:01 +0000
committerAndreas Rumpf <rumpf_a@web.de>2019-04-04 15:09:01 +0200
commit94a21134e98d73733c49bf5594673d2fd3ba6d51 (patch)
tree106a05f59d95d7bd73a028b44e5ab80097a12d0a /nimpretty
parenta990afcedcc4c7bd25008c9fa4fd3906b3716795 (diff)
downloadNim-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.nim3
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
 """