mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03:00
Help+man.md: Add man sections
Also correct minor formatting mistake in TelnetServer.md.
This commit is contained in:
parent
e7c2467231
commit
3fb88cb76d
Notes:
sideshowbarker
2024-07-19 11:52:15 +09:00
Author: https://github.com/larb0b Commit: https://github.com/SerenityOS/serenity/commit/3fb88cb76d2 Pull-request: https://github.com/SerenityOS/serenity/pull/616 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
@ -6,7 +6,13 @@
|
||||
|
||||
static ManualSectionNode s_sections[] = {
|
||||
{ "1", "Command-line programs" },
|
||||
{ "2", "System calls" }
|
||||
{ "2", "System calls" },
|
||||
{ "3", "Libraries" },
|
||||
{ "4", "Special files" },
|
||||
{ "5", "File formats" },
|
||||
{ "6", "Games" },
|
||||
{ "7", "Miscellanea" },
|
||||
{ "8", "Sysadmin tools" }
|
||||
};
|
||||
|
||||
ManualModel::ManualModel()
|
||||
|
@ -21,8 +21,14 @@ The Serenity manual is split into the following *sections*, or *chapters*:
|
||||
|
||||
1. Command-line programs
|
||||
2. System calls
|
||||
3. Libraries
|
||||
4. Special files
|
||||
5. File formats
|
||||
6. Games
|
||||
7. Miscellanea
|
||||
8. Sysadmin tools
|
||||
|
||||
More sections will be added in the future.
|
||||
Sections are subject to change in the future.
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -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"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user