Push remote env var details

This commit is contained in:
David Martinez Barreiro 2020-01-16 18:01:26 +01:00 committed by Anthony Sottile
parent b66d28964b
commit 57cc814b8b
5 changed files with 50 additions and 3 deletions

View file

@ -101,6 +101,12 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
'--commit-msg-filename',
help='Filename to check when running during `commit-msg`',
)
parser.add_argument(
'--push-remote-name', help='Remote name used by `git push`.',
)
parser.add_argument(
'--push-remote-url', help='Remote url used by `git push`.',
)
parser.add_argument(
'--hook-stage', choices=C.STAGES, default='commit',
help='The stage during which the hook is fired. One of %(choices)s',