Skip to content

Commit

Permalink
update to shorter verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
bwitt committed Sep 23, 2021
1 parent 1353e23 commit 97ae96c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The ``-L`` flag can be used to allow certain words that are comma-separated plac

codespell -x FILE, --exclude-file=FILE

The ``-x`` flag can be used to specify a file ``FILE`` with whole lines to be excluded from being checked for errors or changed. These lines in ``FILE`` should match the to-be-excluded lines exactly.
Ignore whole lines that match those in ``FILE``. These lines in ``FILE`` should match the to-be-excluded lines exactly.

codespell -S, --skip=

Expand Down
7 changes: 3 additions & 4 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,9 @@ def parse_options(args):
'you\'d give "*.eps,*.txt" to this option.')

parser.add_argument('-x', '--exclude-file', type=str, metavar='FILE',
help='specify a file FILE with whole lines to be '
'excluded from being checked for errors or changed. ' # noqa: E501
'These lines in FILE should match '
'the to-be-excluded lines exactly')
help='ignore whole lines that match those '
'in the file FILE. These lines in FILE '
'should match the to-be-excluded lines exactly')

parser.add_argument('-i', '--interactive',
action='store', type=int, default=0,
Expand Down

0 comments on commit 97ae96c

Please sign in to comment.