1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:47:35 +00:00

Userland: Write some '--help' descriptions where appropriate

This commit is contained in:
Ben Wiederhake 2020-12-05 16:22:58 +01:00 committed by Andreas Kling
parent 52a8062084
commit 4ec77ba929
32 changed files with 47 additions and 4 deletions

View file

@ -44,6 +44,9 @@ int main(int argc, char** argv)
const char* test_name = "n";
Core::ArgsParser args_parser;
args_parser.set_general_help(
"Exercise error-handling and edge-case paths of the execution environment "
"(i.e., Kernel or UE) by doing unusual thread-related things.");
args_parser.add_positional_argument(test_name, "Test to run (m = mutex, d = detached, p = priority, s = stack size, t = simple thread test, x = set stack, nothing = join race)", "test-name", Core::ArgsParser::Required::No);
args_parser.parse(argc, argv);