Explorar el Código

Merge pull request #4656 from emichael/master

Fix invalid archive error message
TW hace 6 años
padre
commit
d02356e9c0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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):
         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