Skip to content

Commit

Permalink
build: add missing field 'help' to option 'date'
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Apr 5, 2023
1 parent 6ecff4f commit 63ce7e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/towncrier/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ def _validate_answer(ctx: Context, param: Option, value: bool) -> bool:
default=None,
help="Render the news fragments using given version.",
)
@click.option("--date", "project_date", default=None)
@click.option(
"--date",
"project_date",
default=None,
help="Render the news fragments using the given date.",
)
@click.option(
"--yes",
"answer_yes",
Expand Down
1 change: 1 addition & 0 deletions src/towncrier/newsfragments/488.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing field 'help' to CLI option 'date'

0 comments on commit 63ce7e9

Please sign in to comment.