mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix for #157
This commit is contained in:
parent
cdf726bbed
commit
fdc2a889de
3 changed files with 86 additions and 0 deletions
|
|
@ -94,6 +94,11 @@ def main(argv=None):
|
|||
'--source', '-s',
|
||||
help='The remote branch"s commit_id when using `git push`',
|
||||
)
|
||||
run_parser.add_argument(
|
||||
'--allow-unstaged-config', default=False, action='store_true',
|
||||
help='Allow an unstaged config to be present. Note that this will'
|
||||
'be stashed before parsing unless --no-stash is specified'
|
||||
)
|
||||
run_mutex_group = run_parser.add_mutually_exclusive_group(required=False)
|
||||
run_mutex_group.add_argument(
|
||||
'--all-files', '-a', action='store_true', default=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue