mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Base: Add sysctl man page
This commit is contained in:
parent
fb68aa1480
commit
69b98f7d32
Notes:
sideshowbarker
2024-07-18 21:37:34 +09:00
Author: https://github.com/bcoles
Commit: 69b98f7d32
Pull-request: https://github.com/SerenityOS/serenity/pull/5689
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/emanuele6
2 changed files with 51 additions and 1 deletions
|
@ -117,7 +117,7 @@ int main(int argc, char** argv)
|
|||
args_parser.set_general_help(
|
||||
"Show or modify system-internal values. This requires root, and can crash your system.");
|
||||
args_parser.add_option(show_all, "Show all variables", nullptr, 'a');
|
||||
args_parser.add_positional_argument(var, "Command (var[=value])", "command", Core::ArgsParser::Required::No);
|
||||
args_parser.add_positional_argument(var, "variable[=value]", "variable", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
||||
if (var == nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue