Remove -a/--app from Quickstart documentation (#2046)

* Remove `-a/--app` from Quickstart documentation

As mentioned in #2009, simplifying the CLI saw the removal of the `-a/--app` flag. Therefore, the only way to specify the module to import is by setting `FLASK_APP`.

* Remove misleading `either` from CLI help

The CLI help details how to run the application, but still uses the phrasing "either through the `FLASK_APP`...". This likely is an artifact from when `-a/--app` was still present in the CLI.
This commit is contained in:
Michael Recachinas 2016-10-01 12:45:22 -04:00 committed by Markus Unterwaditzer
parent 7186a5aaf5
commit 49ecc88d99
2 changed files with 5 additions and 5 deletions

View file

@ -469,7 +469,7 @@ def shell_command():
cli = FlaskGroup(help="""\
This shell command acts as general utility script for Flask applications.
It loads the application configured (either through the FLASK_APP environment
It loads the application configured (through the FLASK_APP environment
variable) and then provides commands either provided by the application or
Flask itself.