Skip to content

Commit a725836

Browse files
Yoav Ramuntitaker
Yoav Ram
authored andcommitted
Update help to > set FLASK_APP=hello.py (pallets#1830)
When running `flask --help`, the printed string contains this: > Example usage: > > set FLASK_APP=hello > set FLASK_DEBUG=1 > flask run but it actually only works with `set FLASK_APP=hello.py` so the help should be changed. This is true on my Windows 7 Python 3.5 flask 0.11 setup.
1 parent 9c46969 commit a725836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def shell_command():
449449
Example usage:
450450
451451
\b
452-
%(prefix)s%(cmd)s FLASK_APP=hello
452+
%(prefix)s%(cmd)s FLASK_APP=hello.py
453453
%(prefix)s%(cmd)s FLASK_DEBUG=1
454454
%(prefix)sflask run
455455
""" % {

0 commit comments

Comments
 (0)