Add -f to run

This commit is contained in:
Adam Johnson 2023-08-31 15:08:46 +01:00
parent ac42dc586a
commit 2a6b6f14e1

View file

@ -66,7 +66,7 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
help='Run on all the files in the repo.', help='Run on all the files in the repo.',
) )
mutex_group.add_argument( mutex_group.add_argument(
'--files', nargs='*', default=[], '--files', '-f', nargs='*', default=[],
help='Specific filenames to run hooks on.', help='Specific filenames to run hooks on.',
) )
parser.add_argument( parser.add_argument(