File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ def _find_smart_matches(section):
909
909
@app .command (name = "add" )
910
910
def add (* , issue : Annotated [Optional [str ], Parameter (alias = ["-i" ])] = None ,
911
911
section : Annotated [Optional [str ], Parameter (alias = ["-s" ])] = None ,
912
- rst_on_stdin : bool = False ):
912
+ rst_on_stdin : Annotated [ bool , Parameter ( alias = [ "-D" ])] = False ):
913
913
# This docstring template is formatted after the function definition.
914
914
"""Add a new Misc/NEWS entry (default command).
915
915
@@ -1225,7 +1225,7 @@ def export():
1225
1225
@app .default
1226
1226
def default_command (* , issue : Annotated [Optional [str ], Parameter (alias = ["-i" ])] = None ,
1227
1227
section : Annotated [Optional [str ], Parameter (alias = ["-s" ])] = None ,
1228
- rst_on_stdin : bool = False ):
1228
+ rst_on_stdin : Annotated [ bool , Parameter ( alias = [ "-D" ])] = False ):
1229
1229
"""Default to 'add' command when no subcommand specified."""
1230
1230
add (issue = issue , section = section , rst_on_stdin = rst_on_stdin )
1231
1231
You can’t perform that action at this time.
0 commit comments