mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:57:45 +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
26 changed files with 57 additions and 115 deletions
|
@ -10,9 +10,6 @@ $ shot [--clipboard] [--delay seconds] [--screen index] [--region] [output]
|
|||
|
||||
## Options:
|
||||
|
||||
* `--help`: Display help message and exit
|
||||
* `--version`: Print version
|
||||
* `--complete`: Perform autocompletion
|
||||
* `-c`, `--clipboard`: Output to clipboard
|
||||
* `-d seconds`, `--delay seconds`: Seconds to wait before taking a screenshot
|
||||
* `-s index`, `--screen index`: The index of the screen (default: -1 for all screens)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue