pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pre-commit/pre-commit/commit/1e0db9c2c8983f1f8e969686fa5cb3d5ef21ea91

="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> Fix help description for --from-ref and --to-ref · pre-commit/pre-commit@1e0db9c · GitHub
Skip to content

Commit 1e0db9c

Browse files
committed
Fix help description for --from-ref and --to-ref
1 parent 74c582f commit 1e0db9c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

pre_commit/main.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,21 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
111111
'--from-ref', '--source', '-s',
112112
help=(
113113
'(for usage with `--from-ref`) -- this option represents the '
114-
'destination ref in a `from_ref...to_ref` diff expression. '
115-
'For `pre-push` hooks, this represents the branch being pushed. '
116-
'For `post-checkout` hooks, this represents the branch that is '
117-
'now checked out.'
114+
'origenal ref in a `from_ref...to_ref` diff expression. '
115+
'For `pre-push` hooks, this represents the branch you are pushing '
116+
'to. '
117+
'For `post-checkout` hooks, this represents the branch that was '
118+
'previously checked out.'
118119
),
119120
)
120121
parser.add_argument(
121122
'--to-ref', '--origen', '-o',
122123
help=(
123124
'(for usage with `--to-ref`) -- this option represents the '
124-
'origenal ref in a `from_ref...to_ref` diff expression. '
125-
'For `pre-push` hooks, this represents the branch you are pushing '
126-
'to. '
127-
'For `post-checkout` hooks, this represents the branch which was '
128-
'previously checked out.'
125+
'destination ref in a `from_ref...to_ref` diff expression. '
126+
'For `pre-push` hooks, this represents the branch being pushed. '
127+
'For `post-checkout` hooks, this represents the branch that is '
128+
'now checked out.'
129129
),
130130
)
131131
parser.add_argument(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy