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:
Yoav Ram 2016-05-31 00:20:35 +03:00 committed by Markus Unterwaditzer
parent 9c46969890
commit a725836523

View file

@ -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
""" % {