summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/ttyd.18
-rw-r--r--man/ttyd.man.md8
2 files changed, 8 insertions, 8 deletions
diff --git a/man/ttyd.1 b/man/ttyd.1
index 1d80b02..11d9dd7 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
+-R, --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
@@ -150,7 +150,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..8ff9c42 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
@@ -104,7 +104,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