Skip to content

Commit

Permalink
Add line breaks to --quiet-level help text
Browse files Browse the repository at this point in the history
  • Loading branch information
waldyrious committed Jun 10, 2020
1 parent 0a44784 commit c41689d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,18 @@ def parse_options(args):

parser.add_argument('-q', '--quiet-level',
action='store', type=int, default=2,
help='Bitmask that allows suppressing messages. '
'0: print all messages. '
'1: disable warnings about wrong encoding. '
'2: disable warnings about binary files. '
'4: omit warnings about automatic fixes that were'
' disabled in the dictionary. '
'8: don\'t print anything for non-automatic '
'fixes. '
'16: don\'t print the list of fixed files. '
help='Bitmask that allows suppressing messages.\n'
' 0: print all messages.\n'
' 1: disable warnings about wrong encoding.\n'
' 2: disable warnings about binary files.\n'
' 4: omit warnings about automatic fixes that '
'were disabled in the dictionary.\n'
' 8: don\'t print anything for non-automatic '
'fixes.\n'
' 16: don\'t print the list of fixed files.\n'
'As usual with bitmasks, these levels can be '
'combined; e.g. use 3 for levels 1+2, 7 for '
'1+2+4, 23 for 1+2+4+16, etc. '
'1+2+4, 23 for 1+2+4+16, etc.\n'
'The default mask is 2.')

parser.add_argument('-e', '--hard-encoding-detection',
Expand Down

0 comments on commit c41689d

Please sign in to comment.