Skip to content

Commit f5445f0

Browse files
committed
add "-D" for --rst_on_stdin
1 parent c815e4b commit f5445f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blurb/blurb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def _find_smart_matches(section):
909909
@app.command(name="add")
910910
def add(*, issue: Annotated[Optional[str], Parameter(alias=["-i"])] = None,
911911
section: Annotated[Optional[str], Parameter(alias=["-s"])] = None,
912-
rst_on_stdin: bool = False):
912+
rst_on_stdin: Annotated[bool, Parameter(alias=["-D"])] = False):
913913
# This docstring template is formatted after the function definition.
914914
"""Add a new Misc/NEWS entry (default command).
915915

0 commit comments

Comments
 (0)