mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
Userland: Write some '--help' descriptions where appropriate
This commit is contained in:
parent
52a8062084
commit
4ec77ba929
Notes:
sideshowbarker
2024-07-19 01:02:21 +09:00
Author: https://github.com/BenWiederhake
Commit: 4ec77ba929
Pull-request: https://github.com/SerenityOS/serenity/pull/4332
32 changed files with 47 additions and 4 deletions
|
@ -41,6 +41,9 @@ int main(int argc, char** argv)
|
|||
const char* userspec = "0:0";
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help(
|
||||
"Run a program in a chroot sandbox. During execution, the program "
|
||||
"sees the given path as '/', and cannot access files outside of it.");
|
||||
args_parser.add_positional_argument(path, "New root directory", "path");
|
||||
args_parser.add_positional_argument(program, "Program to run", "program", Core::ArgsParser::Required::No);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue