1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 00:37:56 +00:00

Merge pull request #1917 from JoseLuisMartins/bugfix

Fixed borg info
This commit is contained in:
TW 2016-12-02 13:42:09 +01:00 committed by GitHub
commit 91a547bbbe

View file

@ -2192,7 +2192,7 @@ def build_parser(self, prog=None):
formatter_class=argparse.RawDescriptionHelpFormatter, formatter_class=argparse.RawDescriptionHelpFormatter,
help='show repository or archive information') help='show repository or archive information')
subparser.set_defaults(func=self.do_info) subparser.set_defaults(func=self.do_info)
subparser.add_argument('location', metavar='REPOSITORY_OR_ARCHIVE', subparser.add_argument('location', metavar='REPOSITORY_OR_ARCHIVE', nargs='?', default='',
type=location_validator(), type=location_validator(),
help='archive or repository to display information about') help='archive or repository to display information about')
self.add_archives_filters_args(subparser) self.add_archives_filters_args(subparser)