mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
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.
This commit is contained in:
parent
f5c517015d
commit
0c33b494b8
2 changed files with 7 additions and 24 deletions
|
@ -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 -->
|
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue