File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
106106 parser .add_argument (
107107 '--from-ref' , '--source' , '-s' ,
108108 help = (
109- '(for usage with `--from -ref`) -- this option represents the '
109+ '(for usage with `--to -ref`) -- this option represents the '
110110 'original ref in a `from_ref...to_ref` diff expression. '
111111 'For `pre-push` hooks, this represents the branch you are pushing '
112112 'to. '
@@ -117,7 +117,7 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
117117 parser .add_argument (
118118 '--to-ref' , '--origin' , '-o' ,
119119 help = (
120- '(for usage with `--to -ref`) -- this option represents the '
120+ '(for usage with `--from -ref`) -- this option represents the '
121121 'destination ref in a `from_ref...to_ref` diff expression. '
122122 'For `pre-push` hooks, this represents the branch being pushed. '
123123 'For `post-checkout` hooks, this represents the branch that is '
You can’t perform that action at this time.
0 commit comments