ladybird/Base/usr/share/man/man1/nc.md
sin-ack cbc89632b9 LibCore+Base: Add way to hide ArgsParser opt.s from specific usage texts
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.
2022-04-06 11:39:08 +02:00

28 lines
615 B
Markdown

## Name
nc
## Synopsis
```sh
$ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
```
## Description
Network cat: Connect to network sockets as if it were a file.
## Options:
* `-l`, `--listen`: Listen instead of connecting
* `-v`, `--verbose`: Log everything that's happening
* `-u`, `--udp`: UDP mode
* `-N`: Close connection after reading stdin to the end
* `-I`, `--length`: Set maximum tcp receive buffer size
## Arguments:
* `target`: Address to listen on, or the address or hostname to connect to
* `port`: Port to connect to or listen on
<!-- Auto-generated through ArgsParser -->