1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-10 06:03:38 +00:00

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

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