Add missing help to --verbose param

This commit is contained in:
Emmanuel Leblond 2023-11-18 14:19:20 +01:00
parent 2280645d0e
commit a3cbecc2ef
No known key found for this signature in database
GPG key ID: C360860E645EFFC0

View file

@ -59,7 +59,10 @@ def _add_hook_type_option(parser: argparse.ArgumentParser) -> None:
def _add_run_options(parser: argparse.ArgumentParser) -> None:
parser.add_argument('hook', nargs='?', help='A single hook-id to run')
parser.add_argument('--verbose', '-v', action='store_true', default=False)
parser.add_argument(
'--verbose', '-v', action='store_true', default=False,
help='Forces the output of the hook to be printed even when the hook passes.',
)
mutex_group = parser.add_mutually_exclusive_group(required=False)
mutex_group.add_argument(
'--all-files', '-a', action='store_true', default=False,