fix missing quote in --key error message (#5344)
This commit is contained in:
commit
05eebe36ab
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ Version 3.0.1
|
||||||
Unreleased
|
Unreleased
|
||||||
|
|
||||||
- Correct type for ``path`` argument to ``send_file``. :issue:`5230`
|
- Correct type for ``path`` argument to ``send_file``. :issue:`5230`
|
||||||
|
- Fix a typo in an error message for the ``flask run --key`` option. :pr:`5344`
|
||||||
|
|
||||||
|
|
||||||
Version 3.0.0
|
Version 3.0.0
|
||||||
|
|
|
||||||
|
|
@ -795,7 +795,9 @@ def _validate_key(ctx, param, value):
|
||||||
|
|
||||||
if is_context:
|
if is_context:
|
||||||
raise click.BadParameter(
|
raise click.BadParameter(
|
||||||
'When "--cert" is an SSLContext object, "--key is not used.', ctx, param
|
'When "--cert" is an SSLContext object, "--key" is not used.',
|
||||||
|
ctx,
|
||||||
|
param,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not cert:
|
if not cert:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue