mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 03:45:06 +00:00

This adds the ability to hide certain options from certain help texts. `--complete` is always hidden, whereas `--help` and `--version` are hidden from Markdown help text only. Note that in all cases these three options are hidden from the short usage line.
24 lines
570 B
Markdown
24 lines
570 B
Markdown
## Name
|
|
|
|
netstat
|
|
|
|
## Synopsis
|
|
|
|
```sh
|
|
$ netstat [--all] [--list] [--tcp] [--udp] [--numeric] [--program]
|
|
```
|
|
|
|
## Description
|
|
|
|
Display network connections
|
|
|
|
## Options:
|
|
|
|
* `-a`, `--all`: Display both listening and non-listening sockets
|
|
* `-l`, `--list`: Display only listening sockets
|
|
* `-t`, `--tcp`: Display only TCP network connections
|
|
* `-u`, `--udp`: Display only UDP network connections
|
|
* `-n`, `--numeric`: Display numerical addresses
|
|
* `-p`, `--program`: Show the PID and name of the program to which each socket belongs
|
|
|
|
<!-- Auto-generated through ArgsParser -->
|