Skip to content

Commit af3e416

Browse files
committed
Clarify help message
1 parent 681f341 commit af3e416

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fprettify/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,12 @@ def run(argv=sys.argv): # pragma: no cover
13321332
parser.add_argument("-i", "--indent", type=int, default=3,
13331333
help="relative indentation width")
13341334
parser.add_argument("-w", "--whitespace", type=int,
1335-
choices=range(0, 5), default=2, help="types of whitespaces to include")
1335+
choices=range(0, 5), default=2, help="Amount of whitespace - "
1336+
" 0: minimal whitespace"
1337+
" | 1: operators (except arithmetic), print/read"
1338+
" | 2: operators, print/read, plus/minus"
1339+
" | 3: operators, print/read, plus/minus, muliply/divide"
1340+
" | 4: operators, print/read, plus/minus, muliply/divide, type component selector")
13361341
parser.add_argument("--disable-indent", action='store_true', default=False, help="don't impose indentation")
13371342
parser.add_argument("--disable-whitespace", action='store_true', default=False, help="don't impose whitespace formatting")
13381343
parser.add_argument("--strip-comments", action='store_true', default=False, help="strip whitespaces before comments")

0 commit comments

Comments
 (0)