1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:37:35 +00:00

Help+man.md: Add man sections

Also correct minor formatting mistake in TelnetServer.md.
This commit is contained in:
Larkin Nickle 2019-09-29 16:25:29 -04:00 committed by Andreas Kling
parent e7c2467231
commit 3fb88cb76d
3 changed files with 19 additions and 6 deletions

View file

@ -5,20 +5,21 @@ TelnetServer - Serenity telnet server
## Synopsis
```**sh
$ TelnetServer [options]
# TelnetServer [options]
```
## Description
`TelnetServer` is a basic telnet server for Serenity. By default, it
TelnetServer is a basic telnet server for Serenity. By default, it
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.
* `-c`: Choose different program for TelnetServer to run on connection. Arguments can be passed to the program.
## Examples
```sh
$ TelnetServer -p 24 -c /usr/bin/nyancat
# TelnetServer -p 24 -c "/usr/bin/nyancat -f 60"
```