mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17: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
|
@ -48,6 +48,7 @@ int main(int argc, char** argv)
|
|||
const char* value_mask = nullptr;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Display or modify the configuration of each network interface.");
|
||||
args_parser.add_option(value_ipv4, "Set the IP address of the selected network", "ipv4", 'i', "The new IP of the network");
|
||||
args_parser.add_option(value_adapter, "Select a specific network adapter to configure", "adapter", 'a', "The name of a network adapter");
|
||||
args_parser.add_option(value_gateway, "Set the default gateway of the selected network", "gateway", 'g', "The new IP of the gateway");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue