Skip to content

Commit

Permalink
Fix use of "whitelist" in README
Browse files Browse the repository at this point in the history
Use the recommended replacement "allowlist"
  • Loading branch information
hadess committed Jun 11, 2020
1 parent 3da1c75 commit 2e56992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ The ``-w`` flag will actually implement the changes recommended by codespell. No

codespell -I FILE, --ignore-words=FILE

The ``-I`` flag can be used to whitelist certain words that are in the ``codespell_lib/data/dictionary.txt``. The format of the whitelist file is one word per line. Invoke using: ``codespell -I path/to/file.txt`` to execute codespell referencing said whitelist. **Important note:** The whitelist passed to ``-I`` is case-sensitive based on how it is listed in ``dictionary.txt``. ::
The ``-I`` flag can be used to allowlist certain words that are in the ``codespell_lib/data/dictionary.txt``. The format of the allowlist file is one word per line. Invoke using: ``codespell -I path/to/file.txt`` to execute codespell referencing said allowlist. **Important note:** The allowlist passed to ``-I`` is case-sensitive based on how it is listed in ``dictionary.txt``. ::

codespell -L word1,word2,word3,word4

The ``-L`` flag can be used to whitelist certain words that are comma-separated placed immediately after it. ::
The ``-L`` flag can be used to allowlist certain words that are comma-separated placed immediately after it. ::

codespell -S, --skip=

Expand Down

0 comments on commit 2e56992

Please sign in to comment.