Skip to content

Commit dd4eb82

Browse files
committed
build: add missing field 'help' to option 'date'
1 parent 6ecff4f commit dd4eb82

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/towncrier/build.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ def _validate_answer(ctx: Context, param: Option, value: bool) -> bool:
7878
default=None,
7979
help="Render the news fragments using given version.",
8080
)
81-
@click.option("--date", "project_date", default=None)
81+
@click.option(
82+
"--date",
83+
"project_date",
84+
default=None,
85+
help="Render the news fragments using the given date.",
86+
)
8287
@click.option(
8388
"--yes",
8489
"answer_yes",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing field 'help' to CLI option 'date'

0 commit comments

Comments
 (0)