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 Mar 11, 2023
1 parent 2891e01 commit 78b6afc
Showing 1 changed file with 6 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

0 comments on commit 78b6afc

Please sign in to comment.