From 934170de1d4426df3648e066af2b68105b0cd7b9 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 5bf34f4cd8d..d16ffab1a66 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -868,7 +868,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