From 8b4c46d74b08851c8d4efa14ad31579f50bed55e Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Thu, 20 Jun 2019 07:49:48 +0200 Subject: [PATCH] Invoke `serve` task docstring: port is configurable --- pelican/tools/templates/tasks.py.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/tools/templates/tasks.py.jinja2 b/pelican/tools/templates/tasks.py.jinja2 index 889253c9..95164354 100644 --- a/pelican/tools/templates/tasks.py.jinja2 +++ b/pelican/tools/templates/tasks.py.jinja2 @@ -65,7 +65,7 @@ def regenerate(c): @task def serve(c): - """Serve site at http://localhost:8000/""" + """Serve site at http://localhost:$PORT/ (default port is 8000)""" class AddressReuseTCPServer(RootedHTTPServer): allow_reuse_address = True