Skip to content

Commit

Permalink
Update cli help for FLASK_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli authored and davidism committed Jan 23, 2018
1 parent 22708b0 commit 0570393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flask/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,12 +731,12 @@ def routes_command(sort, all_methods):
Provides commands from Flask, extensions, and the application. Loads the
application defined in the FLASK_APP environment variable, or from a wsgi.py
file. Debug mode can be controlled with the FLASK_DEBUG
environment variable.
file. Setting the FLASK_ENV environment variable to 'development' will enable
debug mode.
\b
{prefix}{cmd} FLASK_APP=hello.py
{prefix}{cmd} FLASK_DEBUG=1
{prefix}{cmd} FLASK_ENV=development
{prefix}flask run
""".format(
cmd='export' if os.name == 'posix' else 'set',
Expand Down

0 comments on commit 0570393

Please sign in to comment.