summaryrefslogtreecommitdiff
path: root/Base/usr/share
diff options
context:
space:
mode:
authorKyle Anthony Williams <kyle.anthony.williams2@gmail.com>2022-02-01 14:37:30 -0500
committerAndreas Kling <kling@serenityos.org>2022-02-28 14:01:41 +0100
commit0c33b494b81881488e5dfe485e93915995f7e569 (patch)
tree486fc7317fdfd5b6e3e2143a645c2597b01a10b5 /Base/usr/share
parentf5c517015d32ea9cb4b7160cf73993af6db5f2fb (diff)
downloadserenity-0c33b494b81881488e5dfe485e93915995f7e569.zip
Base: Combine TelnetServer man pages :^)
Two different man pages for TelnetServer could be found in sections 1 and 8 of Serenity's manual. This patch combines both and places the page in section 8.
Diffstat (limited to 'Base/usr/share')
-rw-r--r--Base/usr/share/man/man1/TelnetServer.md18
-rw-r--r--Base/usr/share/man/man8/TelnetServer.md13
2 files changed, 7 insertions, 24 deletions
diff --git a/Base/usr/share/man/man1/TelnetServer.md b/Base/usr/share/man/man1/TelnetServer.md
deleted file mode 100644
index 1a11b7f5fb..0000000000
--- a/Base/usr/share/man/man1/TelnetServer.md
+++ /dev/null
@@ -1,18 +0,0 @@
-## Name
-
-TelnetServer
-
-## Synopsis
-
-```sh
-$ TelnetServer [-p port] [-c command]
-```
-
-## Options:
-
-* `--help`: Display help message and exit
-* `--version`: Print version
-* `-p port`: Port to listen on
-* `-c command`: Program to run on connection
-
-<!-- Auto-generated through ArgsParser -->
diff --git a/Base/usr/share/man/man8/TelnetServer.md b/Base/usr/share/man/man8/TelnetServer.md
index 3dd3ec5349..ab8f3b3b0d 100644
--- a/Base/usr/share/man/man8/TelnetServer.md
+++ b/Base/usr/share/man/man8/TelnetServer.md
@@ -4,10 +4,9 @@ TelnetServer - Serenity telnet server
## Synopsis
-```**sh
-# TelnetServer [options]
+```sh
+$ TelnetServer [-p port] [-c command]
```
-
## Description
TelnetServer is a basic telnet server for Serenity. By default, it
@@ -15,11 +14,13 @@ runs on port 23 and provides a shell upon connection.
## Options
-* `-p`: Choose different port for TelnetServer to attach to.
-* `-c`: Choose different program for TelnetServer to run on connection. Arguments can be passed to the program.
+* `--help`: Display help message and exit
+* `--version`: Print version
+* `-p port`: Port to listen on
+* `-c command`: Program to run on connection
## Examples
```sh
-# TelnetServer -p 24 -c "/usr/bin/nyancat -f 60"
+$ TelnetServer -p 24 -c "/usr/bin/nyancat -f 60"
```