Skip to content

Commit

Permalink
docs(cli): --compare-with option help typo (#484)
Browse files Browse the repository at this point in the history
* docs(cli): --compare-with option help typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
rpatterson and pre-commit-ci[bot] committed Mar 2, 2023
1 parent 826beac commit 2891e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/towncrier/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _get_default_compare_branch(branches: Container[str]) -> str | None:
default=None,
metavar="BRANCH",
help=(
"Checks files changed running git diff --name-ony BRANCH... "
"Checks files changed running git diff --name-only BRANCH... "
"BRANCH is the branch to be compared with. "
"Default to origin/main"
),
Expand Down
1 change: 1 addition & 0 deletions src/towncrier/newsfragments/+docs-compare-with.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a minor typo in the example git CLI option flag.

0 comments on commit 2891e01

Please sign in to comment.