From cb64835a2dbb876af8e5619dbb344d3230185b4c Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 5 Dec 2021 09:53:44 +0100 Subject: [PATCH] Update codespell_lib/_codespell.py Co-authored-by: Peter Newman --- codespell_lib/_codespell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 738363bba63..373fa650ae9 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -867,7 +867,8 @@ def main(*args): try: glob_match.match("/random/path") # does not need a real path except re.error: - print("ERROR: --skip/-S has been fed an invalid glob", + print("ERROR: --skip/-S has been fed an invalid glob, " + "try escaping special characters", file=sys.stderr) return EX_USAGE