Skip to content

Commit

Permalink
build: add missing field 'help' to option 'date' (#488)
Browse files Browse the repository at this point in the history
* build: add missing field 'help' to option 'date'

* Update src/towncrier/newsfragments/488.misc

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>
  • Loading branch information
umarcor and hynek committed Apr 5, 2023
1 parent 6ecff4f commit eaaa869
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 @@
Added help output for `build`'s `--date` option.

0 comments on commit eaaa869

Please sign in to comment.