From ec455953008d08f588fe0c0bd9df4278cd188315 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Feb 2001 08:11:27 +0000 Subject: Add in ifconfig and route --- applets/usage.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'applets') diff --git a/applets/usage.c b/applets/usage.c index 13107c6..bdd4d3d 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -556,6 +556,26 @@ const char id_usage[] = ; #endif +#if defined BB_IFCONFIG +const char ifconfig_usage[] = + "ifconfig [-a] [-i] [-v] [
]" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\n\nconfigure a network interface\n\n" + "Options:\n" + " [[-]broadcast [
]] [[-]pointopoint [
]]\n" + " [netmask
] [dstaddr
] [tunnel ]\n" +#ifdef SIOCSKEEPALIVE + " [outfill ] [keepalive ]\n" +#endif + " [hw ether
] [metric ] [mtu ]\n" + " [[-]trailers] [[-]arp] [[-]allmulti]\n" + " [multicast] [[-]promisc]\n" + " [mem_start ] [io_addr ] [irq ] [media ]\n" + " [up|down] ..." +#endif + ; +#endif + #if defined BB_INSMOD const char insmod_usage[] = "insmod [OPTION]... MODULE [symbol=value]..." @@ -1144,6 +1164,15 @@ const char rmmod_usage[] = ; #endif +#if defined BB_ROUTE +const char route_usage[] = + "route [{add|del|flush}]" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\n\nEdit the kernel's routing tables" +#endif + ; +#endif + #if defined BB_RPMUNPACK const char rpmunpack_usage[] = "rpmunpack < package.rpm | gunzip | cpio -idmuv" -- cgit v1.1