diff options
author | Eric Andersen | 2001-02-14 08:11:27 +0000 |
---|---|---|
committer | Eric Andersen | 2001-02-14 08:11:27 +0000 |
commit | ec455953008d08f588fe0c0bd9df4278cd188315 (patch) | |
tree | ece4d8fefb69365210a9e623df07b41086cd5613 /applets/usage.c | |
parent | 88a5ceb450b576558b7d34e0baadb204dd329fb8 (diff) | |
download | busybox-ec455953008d08f588fe0c0bd9df4278cd188315.zip busybox-ec455953008d08f588fe0c0bd9df4278cd188315.tar.gz |
Add in ifconfig and route
Diffstat (limited to 'applets/usage.c')
-rw-r--r-- | applets/usage.c | 29 |
1 files changed, 29 insertions, 0 deletions
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] <interface> [<address>]" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\n\nconfigure a network interface\n\n" + "Options:\n" + " [[-]broadcast [<address>]] [[-]pointopoint [<address>]]\n" + " [netmask <address>] [dstaddr <address>] [tunnel <adress>]\n" +#ifdef SIOCSKEEPALIVE + " [outfill <NN>] [keepalive <NN>]\n" +#endif + " [hw ether <address>] [metric <NN>] [mtu <NN>]\n" + " [[-]trailers] [[-]arp] [[-]allmulti]\n" + " [multicast] [[-]promisc]\n" + " [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]\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" |