mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
Userland: Write some '--help' descriptions where appropriate
This commit is contained in:
parent
52a8062084
commit
4ec77ba929
32 changed files with 47 additions and 4 deletions
|
@ -107,6 +107,7 @@ int main(int argc, char* argv[])
|
|||
const char* file = nullptr;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Print the end ('tail') of a file.");
|
||||
args_parser.add_option(follow, "Output data as it is written to the file", "follow", 'f');
|
||||
args_parser.add_option(line_count, "Fetch the specified number of lines", "lines", 'n', "number");
|
||||
args_parser.add_positional_argument(file, "File path", "file");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue