mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 14:50:18 +00:00
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.
This commit is contained in:
parent
a387b822a0
commit
cbc89632b9
Notes:
sideshowbarker
2024-07-17 14:22:25 +09:00
Author: https://github.com/sin-ack
Commit: cbc89632b9
Pull-request: https://github.com/SerenityOS/serenity/pull/13495
26 changed files with 57 additions and 115 deletions
|
@ -14,9 +14,6 @@ Display network connections
|
|||
|
||||
## Options:
|
||||
|
||||
* `--help`: Display help message and exit
|
||||
* `--version`: Print version
|
||||
* `--complete`: Perform autocompletion
|
||||
* `-a`, `--all`: Display both listening and non-listening sockets
|
||||
* `-l`, `--list`: Display only listening sockets
|
||||
* `-t`, `--tcp`: Display only TCP network connections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue