Pārlūkot izejas kodu

Fix invalid archive error message

Ellis Michael 6 gadi atpakaļ
vecāks
revīzija
b6a7a0806e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/borg/helpers/parseformat.py

+ 1 - 1
src/borg/helpers/parseformat.py

@@ -500,7 +500,7 @@ def archivename_validator():
     def validator(text):
     def validator(text):
         text = replace_placeholders(text)
         text = replace_placeholders(text)
         if '/' in text or '::' in text or not 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 text
     return validator
     return validator