From 000236aae204d629fccada3527eebf7954239846 Mon Sep 17 00:00:00 2001 From: Robert Coup Date: Fri, 31 May 2019 12:22:08 +0100 Subject: [PATCH] Docs. --- docs/source/configure.rst | 4 ++-- docs/source/settings.rst | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/source/configure.rst b/docs/source/configure.rst index 9ed1a484..2af39e3b 100644 --- a/docs/source/configure.rst +++ b/docs/source/configure.rst @@ -25,10 +25,10 @@ Once again, in order of least to most authoritative: .. note:: - To check your configuration when using the command line or the + To print your resolved configuration when using the command line or the configuration file you can run the following command:: - $ gunicorn --check-config APP_MODULE + $ gunicorn --print-config APP_MODULE It also allows you to know if your application can be launched. diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 16d8961a..c0c99ef4 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -123,6 +123,16 @@ check_config Check the configuration. +.. _print-config: + +print_config +~~~~~~~~~~~~ + +* ``--print-config`` +* ``False`` + +Print the configuration settings as fully resolved. Implies :ref:`check-config`. + Logging -------