Skip to content

Commit c92001d

Browse files
authored
Merge pull request pallets#2915 from loomchild/master
fix @click.command example by adding parens
2 parents 19a0a7d + 47dadcf commit c92001d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ decorator instead of the Flask decorator, you can use
308308
import click
309309
from flask.cli import with_appcontext
310310

311-
@click.command
311+
@click.command()
312312
@with_appcontext
313313
def do_work():
314314
...

0 commit comments

Comments
 (0)