Skip to content
Myr

Update help to > set FLASK_APP=hello.py (#1830)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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.

authored by Yoav Ram · committed by Markus Unterwaditzer · parent 9c46969 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/cli.py+1 added-1 removed
447 unmodified lines
448449Example usage:450451\b452 %(prefix)s%(cmd)s FLASK_APP=hello452 %(prefix)s%(cmd)s FLASK_APP=hello.py453 %(prefix)s%(cmd)s FLASK_DEBUG=1454 %(prefix)sflask run455""" % {456 'cmd': os.name == 'posix' and 'export' or 'set',
26 unmodified lines