forked from orbit-oss/flask
Update help to > set FLASK_APP=hello.py (#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.
This commit is contained in:
parent
9c46969890
commit
a725836523
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ The most useful commands are the "run" and "shell" command.
|
|||
Example usage:
|
||||
|
||||
\b
|
||||
%(prefix)s%(cmd)s FLASK_APP=hello
|
||||
%(prefix)s%(cmd)s FLASK_APP=hello.py
|
||||
%(prefix)s%(cmd)s FLASK_DEBUG=1
|
||||
%(prefix)sflask run
|
||||
""" % {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue