fix invalid pattern argument error msg

This commit is contained in:
Thomas Waldmann 2023-10-25 11:06:37 +02:00
parent d482251a3e
commit 1bd015cdb5
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ def parse_inclexcl_command(cmd_line_str, fallback=ShellPattern):
cmd = cmd_prefix_map.get(cmd_line_str[0])
if cmd is None:
raise argparse.ArgumentTypeError("A pattern/command must start with anyone of: %s" %
raise argparse.ArgumentTypeError("A pattern/command must start with any of: %s" %
', '.join(cmd_prefix_map))
# remaining text on command-line following the command character