mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Simplify a few things
This commit is contained in:
parent
b707cbba06
commit
931c69b3fa
7 changed files with 29 additions and 97 deletions
|
|
@ -79,11 +79,11 @@ def main(argv=None):
|
|||
)
|
||||
|
||||
run_parser.add_argument(
|
||||
'--origin', '-o', default='',
|
||||
'--origin', '-o',
|
||||
help='The origin branch"s commit_id when using `git push`',
|
||||
)
|
||||
run_parser.add_argument(
|
||||
'--source', '-s', default='',
|
||||
'--source', '-s',
|
||||
help='The remote branch"s commit_id when using `git push`',
|
||||
)
|
||||
run_mutex_group = run_parser.add_mutually_exclusive_group(required=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue