mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02: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:
Notes:
sideshowbarker
2024-07-17 14:22:25 +09:00
Author: https://github.com/sin-ack Commit: https://github.com/SerenityOS/serenity/commit/cbc89632b9 Pull-request: https://github.com/SerenityOS/serenity/pull/13495
@@ -14,9 +14,6 @@ This is a client for the SerenitySQL database server.
|
||||
|
||||
## Options:
|
||||
|
||||
* `--help`: Display help message and exit
|
||||
* `--version`: Print version
|
||||
* `--complete`: Perform autocompletion
|
||||
* `-d database`, `--database database`: Database to connect to
|
||||
* `-r file`, `--read file`: File to read
|
||||
* `-s file`, `--source file`: File to source
|
||||
|
||||
Reference in New Issue
Block a user