;
#endif
+#if defined BB_DPKG
+const char dpkg_usage[] =
+ "udpkg <-i|-r|--unpack|--configure> my.deb\n"
+ "WORK IN PROGRESS, only usefull for debian-installer\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+#endif
+ ;
+#endif
+
#if defined BB_DPKG_DEB
const char dpkg_deb_usage[] =
"dpkg-deb [-cexX] file directory"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\n\nPerform actions on debian packages (.debs)\n\n"
"Options:\n"
- "\t-c\tList contents of filesystem tree\n"
+ "\t-c\tList contents of filesystem tree (verbose)\n"
+ "\t-l\tList contents of filesystem tree (.list format)\n"
"\t-e\tExtract control files to directory\n"
"\t-x\tExctract packages filesystem tree to directory\n"
"\t-X\tVerbose extract"
"\nEXPRESSION may consist of:\n"
"\t-follow\t\tDereference symbolic links.\n"
"\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n"
- "\t-print\t\tprint the full file name followed by a newline to stdout."
+#ifdef BB_FEATURE_FIND_TYPE
+ "\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)\n"
+#endif
+#ifdef BB_FEATURE_FIND_PERM
+ "\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN); or exactly (NNN)\n"
+#endif
+#ifdef BB_FEATURE_FIND_MTIME
+ "\t-mtime TIME\tModified time is greater than (+N); less than (-N); or exactly (N) days\n"
+#endif
#endif
;
#endif
"Options:\n"
"\t-g\tprints only the group ID\n"
"\t-u\tprints only the user ID\n"
+ "\t-n\tprint a name instead of a number (with for -ug)\n"
"\t-r\tprints the real user ID instead of the effective ID (with -ug)"
#endif
;
#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]..."
"Options:\n"
"\t-f\tForce module to load into the wrong kernel version.\n"
"\t-k\tMake module autoclean-able.\n"
- "\t-v\tverbose output\n" "\t-x\tdo not export externs"
+ "\t-v\tverbose output\n"
+ "\t-L\tLock to prevent simultaneous loads of a module\n"
+ "\t-x\tdo not export externs"
#endif
;
#endif
#if defined BB_NC
const char nc_usage[] =
- "nc [IP] [port]"
+ "nc [-p PORT] IP PORT\n"
+ " or: nc -l -p PORT"
#ifndef BB_FEATURE_TRIVIAL_HELP
- "\n\nNetcat opens a pipe to IP:port"
+ "\n\nNetcat opens a pipe to IP:PORT\n"
+ "Options:\n"
+ "\t-l\tListen on the socket.\n"
+ "\t-p PORT\tBind the local port to PORT."
#endif
;
#endif
#endif
#endif
+#if defined BB_PIVOT_ROOT
+const char pivot_root_usage[] =
+ "pivot_root new_root put_old"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\n\nMove the current root file system to put_old and make new_root\n"
+ "the new root file system."
+#endif
+ ;
+#endif
+
#if defined BB_POWEROFF
const char poweroff_usage[] =
"poweroff"
;
#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"
;
#endif
+#if defined BB_WATCHDOG
+const char watchdog_usage[] =
+ "watchdog dev\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nPeriodically write to watchdog device \"dev\".\n"
+#endif
+ ;
+#endif
+
#if defined BB_WC
const char wc_usage[] =
"wc [OPTION]... [FILE]..."