diff --git a/src/borg/helpers.py b/src/borg/helpers.py index 5c9fa6447..886f5dd9f 100644 --- a/src/borg/helpers.py +++ b/src/borg/helpers.py @@ -1205,7 +1205,7 @@ def archivename_validator(): def validator(text): text = replace_placeholders(text) if '/' in text or '::' in text or not text: - raise argparse.ArgumentTypeError('Invalid repository name: "%s"' % text) + raise argparse.ArgumentTypeError('Invalid archive name: "%s"' % text) return text return validator