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