summaryrefslogtreecommitdiffstats
path: root/man/ttyd.man.md
diff options
context:
space:
mode:
Diffstat (limited to 'man/ttyd.man.md')
-rw-r--r--man/ttyd.man.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/man/ttyd.man.md b/man/ttyd.man.md
index ed04680..98497cb 100644
--- a/man/ttyd.man.md
+++ b/man/ttyd.man.md
@@ -50,11 +50,11 @@ ttyd 1 "September 2016" ttyd "User Manual"
-a, --url-arg
Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar)
- -R, --readonly
- Do not allow clients to write to the TTY
+ -W, --writable
+ Allow clients to write to the TTY (readonly by default)
-t, --client-option <key=value>
- Send option to client (format: key=value), repeat to add more options, see **CLIENT OPTOINS** for details
+ Send option to client (format: key=value), repeat to add more options, see **CLIENT OPTIONS** for details
-T, --terminal-type
Terminal type to report, default: xterm-256color
@@ -68,6 +68,9 @@ ttyd 1 "September 2016" ttyd "User Manual"
-o, --once
Accept only one client and exit on disconnection
+ -q, --exit-no-conn
+ Exit on all clients disconnection
+
-B, --browser
Open terminal with the default system browser
@@ -78,7 +81,7 @@ ttyd 1 "September 2016" ttyd "User Manual"
Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128)
-P, --ping-interval
- Websocket ping interval(sec) (default: 300)
+ Websocket ping interval(sec) (default: 5)
-6, --ipv6
Enable IPv6 support
@@ -104,7 +107,7 @@ ttyd 1 "September 2016" ttyd "User Manual"
-h, --help
Print this text and exit
-# CLIENT OPTOINS
+# CLIENT OPTIONS
ttyd has a mechanism to pass server side command-line arguments to the browser page which is called **client options**:
```bash