mirror of https://github.com/pallets/flask.git
fix bash cli syntax error and app name
This commit is contained in:
parent
04b070fa26
commit
f51a23839a
|
@ -99,9 +99,9 @@ to the factory like this:
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
$ flask --app hello:create_app(local_auth=True) run
|
$ flask --app 'hello:create_app(local_auth=True)' run
|
||||||
|
|
||||||
Then the ``create_app`` factory in ``myapp`` is called with the keyword
|
Then the ``create_app`` factory in ``hello`` is called with the keyword
|
||||||
argument ``local_auth=True``. See :doc:`/cli` for more detail.
|
argument ``local_auth=True``. See :doc:`/cli` for more detail.
|
||||||
|
|
||||||
Factory Improvements
|
Factory Improvements
|
||||||
|
|
Loading…
Reference in New Issue