aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 13107c6e0..bdd4d3d83 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"