From 104dc93220861081cb1a95210c7f8fe0ddcff3e6 Mon Sep 17 00:00:00 2001 From: Maciej Zygmanowski Date: Fri, 4 Jun 2021 18:15:33 +0200 Subject: [PATCH] ifconfig: Use shorter argument names The previous argument names were so long that they won't fit into the terminal, making help message unreadable. --- Userland/Utilities/ifconfig.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Userland/Utilities/ifconfig.cpp b/Userland/Utilities/ifconfig.cpp index 24330ddceb8..f62a9712747 100644 --- a/Userland/Utilities/ifconfig.cpp +++ b/Userland/Utilities/ifconfig.cpp @@ -30,10 +30,10 @@ int main(int argc, char** argv) 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"); - args_parser.add_option(value_mask, "Set the network mask of the selected network", "mask", 'm', "The new network mask"); + args_parser.add_option(value_ipv4, "Set the IP address of the selected network", "ipv4", 'i', "ip"); + args_parser.add_option(value_adapter, "Select a specific network adapter to configure", "adapter", 'a', "adapter"); + args_parser.add_option(value_gateway, "Set the default gateway of the selected network", "gateway", 'g', "gateway"); + args_parser.add_option(value_mask, "Set the network mask of the selected network", "mask", 'm', "mask"); args_parser.parse(argc, argv); if (!value_ipv4 && !value_adapter && !value_gateway && !value_mask) {