summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-01-01 15:58:48 -0800
committerDavid Anderson <[email protected]>2017-01-01 15:58:48 -0800
commit8cc8cac141994b55ac7f2b98ad363b2196d867f4 (patch)
tree03fd33c9cc86486958454dda0f1c39a04f9249cf
parente0a01587f5d3c412231f18012f3f55743c5aa885 (diff)
Document -hello-timeout in README.
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index dff5524..504eb1d 100644
--- a/README.md
+++ b/README.md
@@ -33,9 +33,14 @@ google.* 10.20.30.40:443
/(alpha|beta|gamma)\.mon(itoring)?\.dave\.tf/ 100.200.100.200:443
```
-TLSRouter takes 2 commandline arguments: the listen address (":443" by default), and
-configuration to use.
+TLSRouter takes one mandatory commandline argument, the configuration file to use:
```shell
-tlsrouter -listen 1.2.3.4:443 -conf tlsrouter.conf
+tlsrouter -conf tlsrouter.conf
```
+
+Optional flags are:
+
+ * `-listen <addr>`: set the listen address (default `:443`)
+ * `-hello-timeout <duration>`: how long to wait for the start of the
+ TLS handshake (default `3s`)