summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/ttyd.114
-rw-r--r--man/ttyd.man.md13
2 files changed, 17 insertions, 10 deletions
diff --git a/man/ttyd.1 b/man/ttyd.1
index 1d80b02..826ea5f 100644
--- a/man/ttyd.1
+++ b/man/ttyd.1
@@ -78,12 +78,12 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar)
.PP
--R, --readonly
- Do not allow clients to write to the TTY
+-W, --writable
+ Allow clients to write to the TTY (readonly by default)
.PP
-t, --client-option
- Send option to client (format: key=value), repeat to add more options, see \fBCLIENT OPTOINS\fP for details
+ Send option to client (format: key=value), repeat to add more options, see \fBCLIENT OPTIONS\fP for details
.PP
-T, --terminal-type
@@ -102,6 +102,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
Accept only one client and exit on disconnection
.PP
+-q, --exit-no-conn
+ Exit on all clients disconnection
+
+.PP
-B, --browser
Open terminal with the default system browser
@@ -115,7 +119,7 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
.PP
-P, --ping-interval
- Websocket ping interval(sec) (default: 300)
+ Websocket ping interval(sec) (default: 5)
.PP
-6, --ipv6
@@ -150,7 +154,7 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
Print this text and exit
-.SH CLIENT OPTOINS
+.SH CLIENT OPTIONS
.PP
ttyd has a mechanism to pass server side command-line arguments to the browser page which is called \fBclient options\fP:
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