mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add -f to run
This commit is contained in:
parent
ac42dc586a
commit
2a6b6f14e1
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
|
|||
help='Run on all the files in the repo.',
|
||||
)
|
||||
mutex_group.add_argument(
|
||||
'--files', nargs='*', default=[],
|
||||
'--files', '-f', nargs='*', default=[],
|
||||
help='Specific filenames to run hooks on.',
|
||||
)
|
||||
parser.add_argument(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue