Browse Source

fix invalid pattern argument error msg

Thomas Waldmann 1 year ago
parent
commit
f86a13c438
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/patterns.py

+ 1 - 1
src/borg/patterns.py

@@ -368,7 +368,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" % ", ".join(cmd_prefix_map))
+        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
     remainder_str = cmd_line_str[1:].lstrip()