Skip to content

Commit 2891e01

Browse files
docs(cli): --compare-with option help typo (#484)
* 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>
1 parent 826beac commit 2891e01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/towncrier/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _get_default_compare_branch(branches: Container[str]) -> str | None:
3838
default=None,
3939
metavar="BRANCH",
4040
help=(
41-
"Checks files changed running git diff --name-ony BRANCH... "
41+
"Checks files changed running git diff --name-only BRANCH... "
4242
"BRANCH is the branch to be compared with. "
4343
"Default to origin/main"
4444
),
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a minor typo in the example git CLI option flag.

0 commit comments

Comments
 (0)