Browse Source

Fix typo: "lated later" >> "added later"

pull/1217/head
Jeff Widman 10 years ago
parent
commit
193b94b0ea
  1. 2
      docs/cli.rst

2
docs/cli.rst

@ -108,7 +108,7 @@ they have the application context setup. Because of this, if you register
a callback on ``app.cli`` with the :meth:`~flask.cli.AppGroup.command` the a callback on ``app.cli`` with the :meth:`~flask.cli.AppGroup.command` the
callback will automatically be wrapped through :func:`cli.with_appcontext` callback will automatically be wrapped through :func:`cli.with_appcontext`
which informs the cli system to ensure that an application context is set which informs the cli system to ensure that an application context is set
up. This behavior is not available if a command is lated later with up. This behavior is not available if a command is added later with
:func:`~click.Group.add_command` or through other means. :func:`~click.Group.add_command` or through other means.
It can also be disabled by passing ``with_appcontext=False`` to the It can also be disabled by passing ``with_appcontext=False`` to the

Loading…
Cancel
Save