mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 10:49:16 +00:00
Merge pull request #1327 from enkore/issue/1324
Fix borg break-lock ignoring BORG_REPO env var
This commit is contained in:
commit
361bf32735
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ def build_parser(self, args=None, prog=None):
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
help='break repository and cache locks')
|
help='break repository and cache locks')
|
||||||
subparser.set_defaults(func=self.do_break_lock)
|
subparser.set_defaults(func=self.do_break_lock)
|
||||||
subparser.add_argument('location', metavar='REPOSITORY',
|
subparser.add_argument('location', metavar='REPOSITORY', nargs='?', default='',
|
||||||
type=location_validator(archive=False),
|
type=location_validator(archive=False),
|
||||||
help='repository for which to break the locks')
|
help='repository for which to break the locks')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue