From 0c33b494b81881488e5dfe485e93915995f7e569 Mon Sep 17 00:00:00 2001 From: Kyle Anthony Williams Date: Tue, 1 Feb 2022 14:37:30 -0500 Subject: [PATCH] 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. --- Base/usr/share/man/man1/TelnetServer.md | 18 ------------------ Base/usr/share/man/man8/TelnetServer.md | 13 +++++++------ 2 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 Base/usr/share/man/man1/TelnetServer.md 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 - - 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" ```