From 94a21134e98d73733c49bf5594673d2fd3ba6d51 Mon Sep 17 00:00:00 2001 From: tofu <38903670+otofu-tofu@users.noreply.github.com> Date: Thu, 4 Apr 2019 13:09:01 +0000 Subject: [PATCH] fixes #9811 (#10961) * fixed wrong default indent value (nimpretty) * fixed help message of nimpretty --- nimpretty/nimpretty.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nimpretty/nimpretty.nim b/nimpretty/nimpretty.nim index fc7eeba40a..3e06ccff35 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 """