From fed54700607a1d054e5f0e70d0fe7aa32cf696cf Mon Sep 17 00:00:00 2001 From: David Glick Date: Sun, 29 Sep 2024 15:16:57 -0700 Subject: [PATCH] Fix spelling of --no-input option --- cookieplone/cli.py | 2 +- news/41.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/41.bugfix diff --git a/cookieplone/cli.py b/cookieplone/cli.py index ae481d0..86337c7 100644 --- a/cookieplone/cli.py +++ b/cookieplone/cli.py @@ -70,7 +70,7 @@ def cli( no_input: Annotated[ bool, typer.Option( - "--no_input", + "--no-input", help=( "Do not prompt for parameters and only use cookiecutter.json " "file content. Defaults to deleting any cached resources and " diff --git a/news/41.bugfix b/news/41.bugfix new file mode 100644 index 0000000..db7ef86 --- /dev/null +++ b/news/41.bugfix @@ -0,0 +1 @@ +Rename the `--no_input` option to `--no-input` for consistency with other options. @davisagli