aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/usage.c b/usage.c
index 13107c6e0..bdd4d3d83 100644
--- a/usage.c
+++ b/usage.c
@@ -556,6 +556,26 @@ const char id_usage[] =
556 ; 556 ;
557#endif 557#endif
558 558
559#if defined BB_IFCONFIG
560const char ifconfig_usage[] =
561 "ifconfig [-a] [-i] [-v] <interface> [<address>]"
562#ifndef BB_FEATURE_TRIVIAL_HELP
563 "\n\nconfigure a network interface\n\n"
564 "Options:\n"
565 " [[-]broadcast [<address>]] [[-]pointopoint [<address>]]\n"
566 " [netmask <address>] [dstaddr <address>] [tunnel <adress>]\n"
567#ifdef SIOCSKEEPALIVE
568 " [outfill <NN>] [keepalive <NN>]\n"
569#endif
570 " [hw ether <address>] [metric <NN>] [mtu <NN>]\n"
571 " [[-]trailers] [[-]arp] [[-]allmulti]\n"
572 " [multicast] [[-]promisc]\n"
573 " [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]\n"
574 " [up|down] ..."
575#endif
576 ;
577#endif
578
559#if defined BB_INSMOD 579#if defined BB_INSMOD
560const char insmod_usage[] = 580const char insmod_usage[] =
561 "insmod [OPTION]... MODULE [symbol=value]..." 581 "insmod [OPTION]... MODULE [symbol=value]..."
@@ -1144,6 +1164,15 @@ const char rmmod_usage[] =
1144 ; 1164 ;
1145#endif 1165#endif
1146 1166
1167#if defined BB_ROUTE
1168const char route_usage[] =
1169 "route [{add|del|flush}]"
1170#ifndef BB_FEATURE_TRIVIAL_HELP
1171 "\n\nEdit the kernel's routing tables"
1172#endif
1173 ;
1174#endif
1175
1147#if defined BB_RPMUNPACK 1176#if defined BB_RPMUNPACK
1148const char rpmunpack_usage[] = 1177const char rpmunpack_usage[] =
1149 "rpmunpack < package.rpm | gunzip | cpio -idmuv" 1178 "rpmunpack < package.rpm | gunzip | cpio -idmuv"