Merge pull request #2545 from enkore/issue/2542

note -v/--verbose requirement on affected options
This commit is contained in:
enkore 2017-05-21 17:19:31 +02:00 committed by GitHub
commit ecf45d33bc
1 changed files with 6 additions and 6 deletions

View File

@ -1371,7 +1371,7 @@ class Archiver:
subparser.set_defaults(func=self.do_create) subparser.set_defaults(func=self.do_create)
subparser.add_argument('-s', '--stats', dest='stats', subparser.add_argument('-s', '--stats', dest='stats',
action='store_true', default=False, action='store_true', default=False,
help='print statistics for the created archive') help='print statistics for the created archive. Requires -v/--verbose.')
subparser.add_argument('-p', '--progress', dest='progress', subparser.add_argument('-p', '--progress', dest='progress',
action='store_true', default=False, action='store_true', default=False,
help="""show progress display while creating the archive, showing Original, help="""show progress display while creating the archive, showing Original,
@ -1379,7 +1379,7 @@ class Archiver:
and the path being processed, default: %(default)s""") and the path being processed, default: %(default)s""")
subparser.add_argument('--list', dest='output_list', subparser.add_argument('--list', dest='output_list',
action='store_true', default=False, action='store_true', default=False,
help='output verbose list of items (files, dirs, ...)') help='output verbose list of items (files, dirs, ...). Requires -v/--verbose.')
subparser.add_argument('--filter', dest='output_filter', metavar='STATUSCHARS', subparser.add_argument('--filter', dest='output_filter', metavar='STATUSCHARS',
help='only display items with the given status characters') help='only display items with the given status characters')
subparser.add_argument('-e', '--exclude', dest='excludes', subparser.add_argument('-e', '--exclude', dest='excludes',
@ -1462,7 +1462,7 @@ class Archiver:
subparser.set_defaults(func=self.do_extract) subparser.set_defaults(func=self.do_extract)
subparser.add_argument('--list', dest='output_list', subparser.add_argument('--list', dest='output_list',
action='store_true', default=False, action='store_true', default=False,
help='output verbose list of items (files, dirs, ...)') help='output verbose list of items (files, dirs, ...). Requires -v/--verbose.')
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 actually change any files') help='do not actually change any files')
@ -1522,7 +1522,7 @@ class Archiver:
help="""show progress display while deleting a single archive""") help="""show progress display while deleting a single archive""")
subparser.add_argument('-s', '--stats', dest='stats', subparser.add_argument('-s', '--stats', dest='stats',
action='store_true', default=False, action='store_true', default=False,
help='print statistics for the deleted archive') help='print statistics for the deleted archive. Requires -v/--verbose.')
subparser.add_argument('-c', '--cache-only', dest='cache_only', subparser.add_argument('-c', '--cache-only', dest='cache_only',
action='store_true', default=False, action='store_true', default=False,
help='delete only the local cache for the given repository') help='delete only the local cache for the given repository')
@ -1692,10 +1692,10 @@ class Archiver:
help='force pruning of corrupted archives') help='force pruning of corrupted archives')
subparser.add_argument('-s', '--stats', dest='stats', subparser.add_argument('-s', '--stats', dest='stats',
action='store_true', default=False, action='store_true', default=False,
help='print statistics for the deleted archive') help='print statistics for the deleted archive. Requires -v/--verbose.')
subparser.add_argument('--list', dest='output_list', subparser.add_argument('--list', dest='output_list',
action='store_true', default=False, action='store_true', default=False,
help='output verbose list of archives it keeps/prunes') help='output verbose list of archives it keeps/prunes. Requires -v/--verbose.')
subparser.add_argument('--keep-within', dest='within', type=str, metavar='WITHIN', subparser.add_argument('--keep-within', dest='within', type=str, metavar='WITHIN',
help='keep all archives within this time interval') help='keep all archives within this time interval')
subparser.add_argument('-H', '--keep-hourly', dest='hourly', type=int, default=0, subparser.add_argument('-H', '--keep-hourly', dest='hourly', type=int, default=0,