Fix versionadded value and tweak --paste-global docs

This commit is contained in:
Berker Peksag 2017-01-13 12:22:47 +03:00
parent 7315721a37
commit 9e311e1838
2 changed files with 6 additions and 6 deletions

View File

@ -1053,13 +1053,13 @@ raw_paste_global_conf
* ``--paste-global CONF``
* ``[]``
Set a PasteDeploy global config variable (key=value).
Set a PasteDeploy global config variable in ``key=value`` form.
The option can be specified multiple times.
The variables are passed to the the PasteDeploy entrypoint. Ex.::
The variables are passed to the the PasteDeploy entrypoint. Example::
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
.. versionadded:: 20.0
.. versionadded:: 19.7

View File

@ -1842,13 +1842,13 @@ class PasteGlobalConf(Setting):
default = []
desc = """\
Set a PasteDeploy global config variable (key=value).
Set a PasteDeploy global config variable in ``key=value`` form.
The option can be specified multiple times.
The variables are passed to the the PasteDeploy entrypoint. Ex.::
The variables are passed to the the PasteDeploy entrypoint. Example::
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
.. versionadded:: 20.0
.. versionadded:: 19.7
"""