From aac005d7b4a0a1cbcb536cf15cf1a4ab8d43fab7 Mon Sep 17 00:00:00 2001 From: Ellis Michael Date: Mon, 1 Jul 2019 10:18:53 -0700 Subject: [PATCH] Fix invalid archive error message Backporting b6a7a0806e8a563961e929a24d71b6be55f16c70 to 1.1-maint --- src/borg/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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