summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-06-15 17:56:55 -0600
committerBert JW Regeer <bertjw@regeer.org>2016-06-15 17:56:55 -0600
commit9e9b380ff86a3f35462e9505e1a58ce27e8283e9 (patch)
tree8a50c07e665736ef7794f425b788552455db371e
parent967eee56605b881c75af810ebf906d195a5fee3f (diff)
downloadwaitress-9e9b380ff86a3f35462e9505e1a58ce27e8283e9.tar.gz
Update docs in runner.py
-rw-r--r--waitress/runner.py22
1 files changed, 18 insertions, 4 deletions
diff --git a/waitress/runner.py b/waitress/runner.py
index 72a8758..abdb38e 100644
--- a/waitress/runner.py
+++ b/waitress/runner.py
@@ -62,11 +62,25 @@ Standard options:
A wildcard for the hostname is also supported and will bind to both
IPv4/IPv6 depending on whether they are enabled or disabled.
- --ipv4
- Enable or disable IPv4 (boolean)
+ --[no-]ipv4
+ Toggle on/off IPv4 support.
- --ipv6
- Enable or disable IPv6 (boolean)
+ Example:
+
+ --no-ipv4
+
+ This will disable IPv4 socket support. This affects wildcard matching
+ when generating the list of sockets.
+
+ --[no-]ipv6
+ Toggle on/off IPv6 support.
+
+ Example:
+
+ --no-ipv6
+
+ This will turn on IPv6 socket support. This affects wildcard matching
+ when generating a list of sockets.
--unix-socket=PATH
Path of Unix socket. If a socket path is specified, a Unix domain