diff options
Diffstat (limited to 'Base')
-rw-r--r-- | Base/usr/share/man/man1/TelnetServer.md | 18 | ||||
-rw-r--r-- | Base/usr/share/man/man8/TelnetServer.md | 13 |
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" ``` |