mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-24 15:12:00 +00:00
fix invalid pattern argument error msg
This commit is contained in:
parent
1f48e500f2
commit
f86a13c438
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue