Package: codespell
Version: 1.6-1
Severity: minor

The description of the -d option suggests that the option is not needed when you print to a terminal.

$ codespell --help | grep disable-colors
 -d, --disable-colors  Disable colors even when printing to terminal


But in reality, the option is needed:

$ echo abilty > typo && codespell typo | cat -A
^[[33mtypo^[[0m:^[[33m1^[[0m: ^[[31mabilty^[[0m  ==> ^[[32mability^[[0m$

$ echo abilty > typo && codespell -d typo | cat -A
typo:1: abilty  ==> ability$


Please disable colors when stdout is not a terminal.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to