Merge pull request #2692 from enkore/f/initopts

remove short options for rarely used options / commands
This commit is contained in:
enkore 2017-06-17 17:05:04 +02:00 committed by GitHub
commit 767f72b03e
1 changed files with 2 additions and 2 deletions

View File

@ -2516,7 +2516,7 @@ class Archiver:
subparser.add_argument('-e', '--encryption', dest='encryption', required=True, subparser.add_argument('-e', '--encryption', dest='encryption', required=True,
choices=('none', 'keyfile', 'repokey', 'keyfile-blake2', 'repokey-blake2', 'authenticated'), choices=('none', 'keyfile', 'repokey', 'keyfile-blake2', 'repokey-blake2', 'authenticated'),
help='select encryption key mode **(required)**') help='select encryption key mode **(required)**')
subparser.add_argument('-a', '--append-only', dest='append_only', action='store_true', subparser.add_argument('--append-only', dest='append_only', action='store_true',
help='create an append-only mode repository') help='create an append-only mode repository')
subparser.add_argument('--storage-quota', dest='storage_quota', default=None, subparser.add_argument('--storage-quota', dest='storage_quota', default=None,
type=parse_storage_quota, type=parse_storage_quota,
@ -3485,7 +3485,7 @@ class Archiver:
subparser.add_argument('-n', '--dry-run', dest='dry_run', subparser.add_argument('-n', '--dry-run', dest='dry_run',
default=False, action='store_true', default=False, action='store_true',
help='do not change repository') help='do not change repository')
subparser.add_argument('-i', '--inplace', dest='inplace', subparser.add_argument('--inplace', dest='inplace',
default=False, action='store_true', default=False, action='store_true',
help="""rewrite repository in place, with no chance of going back to older help="""rewrite repository in place, with no chance of going back to older
versions of the repository.""") versions of the repository.""")