From b6a7a0806e8a563961e929a24d71b6be55f16c70 Mon Sep 17 00:00:00 2001 From: Ellis Michael Date: Sun, 30 Jun 2019 18:04:54 -0700 Subject: [PATCH] Fix invalid archive error message --- src/borg/helpers/parseformat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/helpers/parseformat.py b/src/borg/helpers/parseformat.py index 0e1661757..c09dc868f 100644 --- a/src/borg/helpers/parseformat.py +++ b/src/borg/helpers/parseformat.py @@ -500,7 +500,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