diff --git a/src/borg/patterns.py b/src/borg/patterns.py index e57a5f271..565d0fd4b 100644 --- a/src/borg/patterns.py +++ b/src/borg/patterns.py @@ -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