1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00

debug, key: enable --help

A small merge mishap in 2a864be8; 1.0-maint has it correctly.
This commit is contained in:
Marian Beermann 2016-11-11 19:54:05 +01:00
parent 223f7890fe
commit ac5f9b61ec
No known key found for this signature in database
GPG key ID: 9B8450B91D1362C1

View file

@ -1721,7 +1721,7 @@ def build_parser(self, prog=None):
subparser.add_argument('location', metavar='REPOSITORY', nargs='?', default='',
type=location_validator(archive=False))
subparser = subparsers.add_parser('key', add_help=False,
subparser = subparsers.add_parser('key', add_help=True,
description="Manage a keyfile or repokey of a repository",
epilog="",
formatter_class=argparse.RawDescriptionHelpFormatter,
@ -2491,7 +2491,7 @@ def build_parser(self, prog=None):
in case you ever run into some severe malfunction. Use them only if you know
what you are doing or if a trusted developer tells you what to do.""")
subparser = subparsers.add_parser('debug', add_help=False,
subparser = subparsers.add_parser('debug', add_help=True,
description='debugging command (not intended for normal use)',
epilog=debug_epilog,
formatter_class=argparse.RawDescriptionHelpFormatter,