forked from orbit-oss/flask
fix bash cli syntax error and app name
This commit is contained in:
parent
04b070fa26
commit
f51a23839a
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue