From 86bf3f205feaa86e149674cd0f23a14f3e5c2e22 Mon Sep 17 00:00:00 2001 From: Dillon Barnes Date: Wed, 17 Aug 2022 17:00:25 +0100 Subject: [PATCH] Correct `waitress-serve` command --- docs/deploying/waitress.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deploying/waitress.rst b/docs/deploying/waitress.rst index 9b2fe13f..eb70e058 100644 --- a/docs/deploying/waitress.rst +++ b/docs/deploying/waitress.rst @@ -45,10 +45,10 @@ pattern, use ``--call {module}:{factory}`` instead. .. code-block:: text # equivalent to 'from hello import app' - $ waitress-serve hello:app --host 127.0.0.1 + $ waitress-serve --host 127.0.0.1 hello:app # equivalent to 'from hello import create_app; create_app()' - $ waitress-serve --call hello:create_app --host 127.0.0.1 + $ waitress-serve --host 127.0.0.1 --call hello:create_app Serving on http://127.0.0.1:8080