From 9e311e1838291dc7d6a6e01ea25de9cc78a801e7 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 13 Jan 2017 12:22:47 +0300 Subject: [PATCH] Fix versionadded value and tweak --paste-global docs --- docs/source/settings.rst | 6 +++--- gunicorn/config.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 9dbff26b..899bcd03 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -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 diff --git a/gunicorn/config.py b/gunicorn/config.py index 08100e6b..442f737c 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -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 """