mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
borg info:fixed bug when called without arguments,issue #1914
This commit is contained in:
parent
10d143925c
commit
0f07b6acf4
1 changed files with 1 additions and 1 deletions
|
@ -2192,7 +2192,7 @@ def build_parser(self, prog=None):
|
|||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help='show repository or archive information')
|
||||
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(),
|
||||
help='archive or repository to display information about')
|
||||
self.add_archives_filters_args(subparser)
|
||||
|
|
Loading…
Reference in a new issue