Merge remote-tracking branch 'origin/1.1.x'

This commit is contained in:
David Lord 2020-04-02 11:56:30 -07:00
commit 037ae3f024
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
4 changed files with 6 additions and 6 deletions

View file

@ -423,7 +423,7 @@ command line. ::
@app.cli.command('hello')
@click.option('--name', default='World')
def hello_command(name)
def hello_command(name):
click.echo(f'Hello, {name}!')
def test_hello():
@ -450,7 +450,7 @@ This is useful for testing complex validation rules and custom types. ::
@app.cli.command('hello')
@click.option('--name', default='World', callback=upper)
def hello_command(name)
def hello_command(name):
click.echo(f'Hello, {name}!')
def test_hello_params():