#if defined BB_DF
const char df_usage[] =
- "df [filesystem ...]"
+ "df [-?"
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "hm"
+#endif
+ "k] [filesystem ...]\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\n\nPrint the filesystem space used and space available."
+ "Options:\n"
+ "\t-?\tshow usage information\n"
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n"
+ "\t-m\tprint sizes in megabytes\n"
+ "\t-k\tprint sizes in kilobytes(default)\n"
+#else
+ "\t-k\tprint sizes in kilobytes(compatability)\n"
+#endif
#endif
;
#endif
#if defined BB_DU
const char du_usage[] =
- "du [OPTION]... [FILE]..."
+ "du [-?ls"
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "hm"
+#endif
+ "k] [FILE]...\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\n\nSummarizes disk space used for each FILE and/or directory.\n"
"Disk space is printed in units of 1024 bytes.\n\n"
"Options:\n"
+ "\t-?\tshow usage information\n"
"\t-l\tcount sizes many times if hard linked\n"
"\t-s\tdisplay only a total for each argument"
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n"
+ "\t-m\tprint sizes in megabytes\n"
+ "\t-k\tprint sizes in kilobytes(default)\n"
+#else
+ "\t-k\tprint sizes in kilobytes(compatability)\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
;
"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
#ifdef BB_FEATURE_LS_SORTFILES
"X"
#endif
- "] [filenames...]"
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "h"
+#endif
+ "k] [filenames...]\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\n\nList directory contents\n\n"
"Options:\n"
#ifdef BB_FEATURE_LS_SORTFILES
"\t-X\tsort the listing by extension\n"
#endif
+
+#ifdef BB_FEATURE_HUMAN_READABLE
+ "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n"
+ "\t-k\tprint sizes in kilobytes(default)\n"
+#else
+ "\t-k\tprint sizes in kilobytes(compatability)"
+#endif
+
#endif /* BB_FEATURE_TRIVIAL_HELP */
;
#endif /* BB_LS */
;
#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]..."