diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-17 16:49:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-17 16:49:00 +0000 |
commit | 3d20f772c2dc55acdc5f3503e7e308c387e4e15c (patch) | |
tree | 6bb33ee8941207c3c00ae89ca2a8bf72173dfc95 | |
parent | 966b3a6f795acb44e10c499cd93fa6e6c788c371 (diff) | |
download | busybox-w32-3d20f772c2dc55acdc5f3503e7e308c387e4e15c.tar.gz busybox-w32-3d20f772c2dc55acdc5f3503e7e308c387e4e15c.tar.bz2 busybox-w32-3d20f772c2dc55acdc5f3503e7e308c387e4e15c.zip |
A bunch of usage clenups from kent robotti <robotti@metconnect.com>
-Erik
-rw-r--r-- | applets/usage.h | 43 | ||||
-rw-r--r-- | include/usage.h | 43 | ||||
-rw-r--r-- | usage.h | 43 |
3 files changed, 63 insertions, 66 deletions
diff --git a/applets/usage.h b/applets/usage.h index c16a225a1..7c7318595 100644 --- a/applets/usage.h +++ b/applets/usage.h | |||
@@ -86,7 +86,7 @@ chmod_usage_index | |||
86 | #ifndef BB_FEATURE_TRIVIAL_HELP | 86 | #ifndef BB_FEATURE_TRIVIAL_HELP |
87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" | 87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" |
88 | "one or more of the letters rwxst.\n\n" | 88 | "one or more of the letters rwxst.\n\n" |
89 | "\nOptions:\n\t-R\tChanges files and directories recursively." | 89 | "Options:\n\t-R\tChanges files and directories recursively." |
90 | #endif | 90 | #endif |
91 | #endif | 91 | #endif |
92 | DO_COMMA | 92 | DO_COMMA |
@@ -226,15 +226,16 @@ DO_COMMA | |||
226 | #if defined USAGE_ENUM | 226 | #if defined USAGE_ENUM |
227 | dd_usage_index | 227 | dd_usage_index |
228 | #elif defined USAGE_MESSAGES | 228 | #elif defined USAGE_MESSAGES |
229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|sync]" | 229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]\n" |
230 | "\t [conv=notrunc|sync]" | ||
230 | #ifndef BB_FEATURE_TRIVIAL_HELP | 231 | #ifndef BB_FEATURE_TRIVIAL_HELP |
231 | "\n\nCopy a file, converting and formatting according to options\n\n" | 232 | "\n\nCopy a file, converting and formatting according to options\n\n" |
232 | "\tif=FILE\tread from FILE instead of stdin\n" | 233 | "\tif=FILE\t\tread from FILE instead of stdin\n" |
233 | "\tof=FILE\twrite to FILE instead of stdout\n" | 234 | "\tof=FILE\t\twrite to FILE instead of stdout\n" |
234 | "\tbs=N\tread and write N bytes at a time\n" | 235 | "\tbs=N\t\tread and write N bytes at a time\n" |
235 | "\tcount=N\tcopy only N input blocks\n" | 236 | "\tcount=N\t\tcopy only N input blocks\n" |
236 | "\tskip=N\tskip N input blocks\n" | 237 | "\tskip=N\t\tskip N input blocks\n" |
237 | "\tseek=N\tskip N output blocks\n" | 238 | "\tseek=N\t\tskip N output blocks\n" |
238 | "\tconv=notrunc\tdon't truncate output file\n" | 239 | "\tconv=notrunc\tdon't truncate output file\n" |
239 | "\tconv=sync\tpad blocks with zeros\n" | 240 | "\tconv=sync\tpad blocks with zeros\n" |
240 | "\n" | 241 | "\n" |
@@ -261,17 +262,16 @@ DO_COMMA | |||
261 | #if defined USAGE_ENUM | 262 | #if defined USAGE_ENUM |
262 | df_usage_index | 263 | df_usage_index |
263 | #elif defined USAGE_MESSAGES | 264 | #elif defined USAGE_MESSAGES |
264 | "[-?" | 265 | "[-" |
265 | #ifdef BB_FEATURE_HUMAN_READABLE | 266 | #ifdef BB_FEATURE_HUMAN_READABLE |
266 | "hm" | 267 | "hm" |
267 | #endif | 268 | #endif |
268 | "k] [filesystem ...]\n" | 269 | "k] [filesystem ...]" |
269 | #ifndef BB_FEATURE_TRIVIAL_HELP | 270 | #ifndef BB_FEATURE_TRIVIAL_HELP |
270 | "\n\nPrint the filesystem space used and space available." | 271 | "\n\nPrint the filesystem space used and space available\n\n" |
271 | "Options:\n" | 272 | "Options:\n" |
272 | "\t-?\tshow usage information" | ||
273 | #ifdef BB_FEATURE_HUMAN_READABLE | 273 | #ifdef BB_FEATURE_HUMAN_READABLE |
274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
275 | "\t-m\tprint sizes in megabytes\n" | 275 | "\t-m\tprint sizes in megabytes\n" |
276 | "\t-k\tprint sizes in kilobytes(default)" | 276 | "\t-k\tprint sizes in kilobytes(default)" |
277 | #else | 277 | #else |
@@ -356,7 +356,7 @@ DO_COMMA | |||
356 | #if defined USAGE_ENUM | 356 | #if defined USAGE_ENUM |
357 | du_usage_index | 357 | du_usage_index |
358 | #elif defined USAGE_MESSAGES | 358 | #elif defined USAGE_MESSAGES |
359 | "[-?ls" | 359 | "[-ls" |
360 | #ifdef BB_FEATURE_HUMAN_READABLE | 360 | #ifdef BB_FEATURE_HUMAN_READABLE |
361 | "hm" | 361 | "hm" |
362 | #endif | 362 | #endif |
@@ -365,11 +365,10 @@ du_usage_index | |||
365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" | 365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" |
366 | "Disk space is printed in units of 1024 bytes.\n\n" | 366 | "Disk space is printed in units of 1024 bytes.\n\n" |
367 | "Options:\n" | 367 | "Options:\n" |
368 | "\t-?\tshow usage information\n" | ||
369 | "\t-l\tcount sizes many times if hard linked\n" | 368 | "\t-l\tcount sizes many times if hard linked\n" |
370 | "\t-s\tdisplay only a total for each argument" | 369 | "\t-s\tdisplay only a total for each argument" |
371 | #ifdef BB_FEATURE_HUMAN_READABLE | 370 | #ifdef BB_FEATURE_HUMAN_READABLE |
372 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 371 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
373 | "\t-m\tprint sizes in megabytes\n" | 372 | "\t-m\tprint sizes in megabytes\n" |
374 | "\t-k\tprint sizes in kilobytes(default)" | 373 | "\t-k\tprint sizes in kilobytes(default)" |
375 | #else | 374 | #else |
@@ -386,7 +385,7 @@ dumpkmap_usage_index | |||
386 | #elif defined USAGE_MESSAGES | 385 | #elif defined USAGE_MESSAGES |
387 | "> keymap" | 386 | "> keymap" |
388 | #ifndef BB_FEATURE_TRIVIAL_HELP | 387 | #ifndef BB_FEATURE_TRIVIAL_HELP |
389 | "\n\nPrints out a binary keyboard translation table to standard input." | 388 | "\n\nPrints out a binary keyboard translation table to standard output" |
390 | #endif | 389 | #endif |
391 | #endif | 390 | #endif |
392 | DO_COMMA | 391 | DO_COMMA |
@@ -994,7 +993,7 @@ ls_usage_index | |||
994 | #endif | 993 | #endif |
995 | 994 | ||
996 | #ifdef BB_FEATURE_HUMAN_READABLE | 995 | #ifdef BB_FEATURE_HUMAN_READABLE |
997 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 996 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
998 | "\t-k\tprint sizes in kilobytes(default)" | 997 | "\t-k\tprint sizes in kilobytes(default)" |
999 | #else | 998 | #else |
1000 | "\t-k\tprint sizes in kilobytes(compatability)" | 999 | "\t-k\tprint sizes in kilobytes(compatability)" |
@@ -1136,7 +1135,8 @@ mkswap_usage_index | |||
1136 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" | 1135 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" |
1137 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" | 1136 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" |
1138 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" | 1137 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" |
1139 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels > 2.1.117).\n" | 1138 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n" |
1139 | "\t\t\t2.1.117).\n" | ||
1140 | "\tblock-count\tNumber of block to use (default is entire partition)." | 1140 | "\tblock-count\tNumber of block to use (default is entire partition)." |
1141 | #endif | 1141 | #endif |
1142 | #endif | 1142 | #endif |
@@ -1178,7 +1178,7 @@ mount_usage_index | |||
1178 | "Flags:\n" | 1178 | "Flags:\n" |
1179 | "\t-a:\t\tMount all filesystems in fstab.\n" | 1179 | "\t-a:\t\tMount all filesystems in fstab.\n" |
1180 | #ifdef BB_MTAB | 1180 | #ifdef BB_MTAB |
1181 | "\t-f:\t\t\"Fake\" mount. Add entry to mount table but don't mount it.\n" | 1181 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" |
1182 | "\t-n:\t\tDon't write a mount table entry.\n" | 1182 | "\t-n:\t\tDon't write a mount table entry.\n" |
1183 | #endif | 1183 | #endif |
1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" | 1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" |
@@ -1195,7 +1195,7 @@ mount_usage_index | |||
1195 | "\tloop:\t\tMounts a file via loop device.\n" | 1195 | "\tloop:\t\tMounts a file via loop device.\n" |
1196 | #endif | 1196 | #endif |
1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" | 1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" |
1198 | "\tremount:\tRe-mount a currently-mounted filesystem, changing its flags.\n" | 1198 | "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" |
1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" | 1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" |
1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" | 1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" |
1201 | "You'll have to see the written documentation for those." | 1201 | "You'll have to see the written documentation for those." |
@@ -1492,7 +1492,6 @@ sed_usage_index | |||
1492 | "-n\t\tsuppress automatic printing of pattern space\n" | 1492 | "-n\t\tsuppress automatic printing of pattern space\n" |
1493 | "-e script\tadd the script to the commands to be executed\n" | 1493 | "-e script\tadd the script to the commands to be executed\n" |
1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" | 1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" |
1495 | "-h\t\tdisplay this help message\n" | ||
1496 | "\n" | 1495 | "\n" |
1497 | "If no -e or -f is given, the first non-option argument is taken as the\n" | 1496 | "If no -e or -f is given, the first non-option argument is taken as the\n" |
1498 | "sed script to interpret. All remaining arguments are names of input\n" | 1497 | "sed script to interpret. All remaining arguments are names of input\n" |
diff --git a/include/usage.h b/include/usage.h index c16a225a1..7c7318595 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -86,7 +86,7 @@ chmod_usage_index | |||
86 | #ifndef BB_FEATURE_TRIVIAL_HELP | 86 | #ifndef BB_FEATURE_TRIVIAL_HELP |
87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" | 87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" |
88 | "one or more of the letters rwxst.\n\n" | 88 | "one or more of the letters rwxst.\n\n" |
89 | "\nOptions:\n\t-R\tChanges files and directories recursively." | 89 | "Options:\n\t-R\tChanges files and directories recursively." |
90 | #endif | 90 | #endif |
91 | #endif | 91 | #endif |
92 | DO_COMMA | 92 | DO_COMMA |
@@ -226,15 +226,16 @@ DO_COMMA | |||
226 | #if defined USAGE_ENUM | 226 | #if defined USAGE_ENUM |
227 | dd_usage_index | 227 | dd_usage_index |
228 | #elif defined USAGE_MESSAGES | 228 | #elif defined USAGE_MESSAGES |
229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|sync]" | 229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]\n" |
230 | "\t [conv=notrunc|sync]" | ||
230 | #ifndef BB_FEATURE_TRIVIAL_HELP | 231 | #ifndef BB_FEATURE_TRIVIAL_HELP |
231 | "\n\nCopy a file, converting and formatting according to options\n\n" | 232 | "\n\nCopy a file, converting and formatting according to options\n\n" |
232 | "\tif=FILE\tread from FILE instead of stdin\n" | 233 | "\tif=FILE\t\tread from FILE instead of stdin\n" |
233 | "\tof=FILE\twrite to FILE instead of stdout\n" | 234 | "\tof=FILE\t\twrite to FILE instead of stdout\n" |
234 | "\tbs=N\tread and write N bytes at a time\n" | 235 | "\tbs=N\t\tread and write N bytes at a time\n" |
235 | "\tcount=N\tcopy only N input blocks\n" | 236 | "\tcount=N\t\tcopy only N input blocks\n" |
236 | "\tskip=N\tskip N input blocks\n" | 237 | "\tskip=N\t\tskip N input blocks\n" |
237 | "\tseek=N\tskip N output blocks\n" | 238 | "\tseek=N\t\tskip N output blocks\n" |
238 | "\tconv=notrunc\tdon't truncate output file\n" | 239 | "\tconv=notrunc\tdon't truncate output file\n" |
239 | "\tconv=sync\tpad blocks with zeros\n" | 240 | "\tconv=sync\tpad blocks with zeros\n" |
240 | "\n" | 241 | "\n" |
@@ -261,17 +262,16 @@ DO_COMMA | |||
261 | #if defined USAGE_ENUM | 262 | #if defined USAGE_ENUM |
262 | df_usage_index | 263 | df_usage_index |
263 | #elif defined USAGE_MESSAGES | 264 | #elif defined USAGE_MESSAGES |
264 | "[-?" | 265 | "[-" |
265 | #ifdef BB_FEATURE_HUMAN_READABLE | 266 | #ifdef BB_FEATURE_HUMAN_READABLE |
266 | "hm" | 267 | "hm" |
267 | #endif | 268 | #endif |
268 | "k] [filesystem ...]\n" | 269 | "k] [filesystem ...]" |
269 | #ifndef BB_FEATURE_TRIVIAL_HELP | 270 | #ifndef BB_FEATURE_TRIVIAL_HELP |
270 | "\n\nPrint the filesystem space used and space available." | 271 | "\n\nPrint the filesystem space used and space available\n\n" |
271 | "Options:\n" | 272 | "Options:\n" |
272 | "\t-?\tshow usage information" | ||
273 | #ifdef BB_FEATURE_HUMAN_READABLE | 273 | #ifdef BB_FEATURE_HUMAN_READABLE |
274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
275 | "\t-m\tprint sizes in megabytes\n" | 275 | "\t-m\tprint sizes in megabytes\n" |
276 | "\t-k\tprint sizes in kilobytes(default)" | 276 | "\t-k\tprint sizes in kilobytes(default)" |
277 | #else | 277 | #else |
@@ -356,7 +356,7 @@ DO_COMMA | |||
356 | #if defined USAGE_ENUM | 356 | #if defined USAGE_ENUM |
357 | du_usage_index | 357 | du_usage_index |
358 | #elif defined USAGE_MESSAGES | 358 | #elif defined USAGE_MESSAGES |
359 | "[-?ls" | 359 | "[-ls" |
360 | #ifdef BB_FEATURE_HUMAN_READABLE | 360 | #ifdef BB_FEATURE_HUMAN_READABLE |
361 | "hm" | 361 | "hm" |
362 | #endif | 362 | #endif |
@@ -365,11 +365,10 @@ du_usage_index | |||
365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" | 365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" |
366 | "Disk space is printed in units of 1024 bytes.\n\n" | 366 | "Disk space is printed in units of 1024 bytes.\n\n" |
367 | "Options:\n" | 367 | "Options:\n" |
368 | "\t-?\tshow usage information\n" | ||
369 | "\t-l\tcount sizes many times if hard linked\n" | 368 | "\t-l\tcount sizes many times if hard linked\n" |
370 | "\t-s\tdisplay only a total for each argument" | 369 | "\t-s\tdisplay only a total for each argument" |
371 | #ifdef BB_FEATURE_HUMAN_READABLE | 370 | #ifdef BB_FEATURE_HUMAN_READABLE |
372 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 371 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
373 | "\t-m\tprint sizes in megabytes\n" | 372 | "\t-m\tprint sizes in megabytes\n" |
374 | "\t-k\tprint sizes in kilobytes(default)" | 373 | "\t-k\tprint sizes in kilobytes(default)" |
375 | #else | 374 | #else |
@@ -386,7 +385,7 @@ dumpkmap_usage_index | |||
386 | #elif defined USAGE_MESSAGES | 385 | #elif defined USAGE_MESSAGES |
387 | "> keymap" | 386 | "> keymap" |
388 | #ifndef BB_FEATURE_TRIVIAL_HELP | 387 | #ifndef BB_FEATURE_TRIVIAL_HELP |
389 | "\n\nPrints out a binary keyboard translation table to standard input." | 388 | "\n\nPrints out a binary keyboard translation table to standard output" |
390 | #endif | 389 | #endif |
391 | #endif | 390 | #endif |
392 | DO_COMMA | 391 | DO_COMMA |
@@ -994,7 +993,7 @@ ls_usage_index | |||
994 | #endif | 993 | #endif |
995 | 994 | ||
996 | #ifdef BB_FEATURE_HUMAN_READABLE | 995 | #ifdef BB_FEATURE_HUMAN_READABLE |
997 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 996 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
998 | "\t-k\tprint sizes in kilobytes(default)" | 997 | "\t-k\tprint sizes in kilobytes(default)" |
999 | #else | 998 | #else |
1000 | "\t-k\tprint sizes in kilobytes(compatability)" | 999 | "\t-k\tprint sizes in kilobytes(compatability)" |
@@ -1136,7 +1135,8 @@ mkswap_usage_index | |||
1136 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" | 1135 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" |
1137 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" | 1136 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" |
1138 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" | 1137 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" |
1139 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels > 2.1.117).\n" | 1138 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n" |
1139 | "\t\t\t2.1.117).\n" | ||
1140 | "\tblock-count\tNumber of block to use (default is entire partition)." | 1140 | "\tblock-count\tNumber of block to use (default is entire partition)." |
1141 | #endif | 1141 | #endif |
1142 | #endif | 1142 | #endif |
@@ -1178,7 +1178,7 @@ mount_usage_index | |||
1178 | "Flags:\n" | 1178 | "Flags:\n" |
1179 | "\t-a:\t\tMount all filesystems in fstab.\n" | 1179 | "\t-a:\t\tMount all filesystems in fstab.\n" |
1180 | #ifdef BB_MTAB | 1180 | #ifdef BB_MTAB |
1181 | "\t-f:\t\t\"Fake\" mount. Add entry to mount table but don't mount it.\n" | 1181 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" |
1182 | "\t-n:\t\tDon't write a mount table entry.\n" | 1182 | "\t-n:\t\tDon't write a mount table entry.\n" |
1183 | #endif | 1183 | #endif |
1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" | 1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" |
@@ -1195,7 +1195,7 @@ mount_usage_index | |||
1195 | "\tloop:\t\tMounts a file via loop device.\n" | 1195 | "\tloop:\t\tMounts a file via loop device.\n" |
1196 | #endif | 1196 | #endif |
1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" | 1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" |
1198 | "\tremount:\tRe-mount a currently-mounted filesystem, changing its flags.\n" | 1198 | "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" |
1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" | 1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" |
1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" | 1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" |
1201 | "You'll have to see the written documentation for those." | 1201 | "You'll have to see the written documentation for those." |
@@ -1492,7 +1492,6 @@ sed_usage_index | |||
1492 | "-n\t\tsuppress automatic printing of pattern space\n" | 1492 | "-n\t\tsuppress automatic printing of pattern space\n" |
1493 | "-e script\tadd the script to the commands to be executed\n" | 1493 | "-e script\tadd the script to the commands to be executed\n" |
1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" | 1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" |
1495 | "-h\t\tdisplay this help message\n" | ||
1496 | "\n" | 1495 | "\n" |
1497 | "If no -e or -f is given, the first non-option argument is taken as the\n" | 1496 | "If no -e or -f is given, the first non-option argument is taken as the\n" |
1498 | "sed script to interpret. All remaining arguments are names of input\n" | 1497 | "sed script to interpret. All remaining arguments are names of input\n" |
@@ -86,7 +86,7 @@ chmod_usage_index | |||
86 | #ifndef BB_FEATURE_TRIVIAL_HELP | 86 | #ifndef BB_FEATURE_TRIVIAL_HELP |
87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" | 87 | "\n\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" |
88 | "one or more of the letters rwxst.\n\n" | 88 | "one or more of the letters rwxst.\n\n" |
89 | "\nOptions:\n\t-R\tChanges files and directories recursively." | 89 | "Options:\n\t-R\tChanges files and directories recursively." |
90 | #endif | 90 | #endif |
91 | #endif | 91 | #endif |
92 | DO_COMMA | 92 | DO_COMMA |
@@ -226,15 +226,16 @@ DO_COMMA | |||
226 | #if defined USAGE_ENUM | 226 | #if defined USAGE_ENUM |
227 | dd_usage_index | 227 | dd_usage_index |
228 | #elif defined USAGE_MESSAGES | 228 | #elif defined USAGE_MESSAGES |
229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|sync]" | 229 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]\n" |
230 | "\t [conv=notrunc|sync]" | ||
230 | #ifndef BB_FEATURE_TRIVIAL_HELP | 231 | #ifndef BB_FEATURE_TRIVIAL_HELP |
231 | "\n\nCopy a file, converting and formatting according to options\n\n" | 232 | "\n\nCopy a file, converting and formatting according to options\n\n" |
232 | "\tif=FILE\tread from FILE instead of stdin\n" | 233 | "\tif=FILE\t\tread from FILE instead of stdin\n" |
233 | "\tof=FILE\twrite to FILE instead of stdout\n" | 234 | "\tof=FILE\t\twrite to FILE instead of stdout\n" |
234 | "\tbs=N\tread and write N bytes at a time\n" | 235 | "\tbs=N\t\tread and write N bytes at a time\n" |
235 | "\tcount=N\tcopy only N input blocks\n" | 236 | "\tcount=N\t\tcopy only N input blocks\n" |
236 | "\tskip=N\tskip N input blocks\n" | 237 | "\tskip=N\t\tskip N input blocks\n" |
237 | "\tseek=N\tskip N output blocks\n" | 238 | "\tseek=N\t\tskip N output blocks\n" |
238 | "\tconv=notrunc\tdon't truncate output file\n" | 239 | "\tconv=notrunc\tdon't truncate output file\n" |
239 | "\tconv=sync\tpad blocks with zeros\n" | 240 | "\tconv=sync\tpad blocks with zeros\n" |
240 | "\n" | 241 | "\n" |
@@ -261,17 +262,16 @@ DO_COMMA | |||
261 | #if defined USAGE_ENUM | 262 | #if defined USAGE_ENUM |
262 | df_usage_index | 263 | df_usage_index |
263 | #elif defined USAGE_MESSAGES | 264 | #elif defined USAGE_MESSAGES |
264 | "[-?" | 265 | "[-" |
265 | #ifdef BB_FEATURE_HUMAN_READABLE | 266 | #ifdef BB_FEATURE_HUMAN_READABLE |
266 | "hm" | 267 | "hm" |
267 | #endif | 268 | #endif |
268 | "k] [filesystem ...]\n" | 269 | "k] [filesystem ...]" |
269 | #ifndef BB_FEATURE_TRIVIAL_HELP | 270 | #ifndef BB_FEATURE_TRIVIAL_HELP |
270 | "\n\nPrint the filesystem space used and space available." | 271 | "\n\nPrint the filesystem space used and space available\n\n" |
271 | "Options:\n" | 272 | "Options:\n" |
272 | "\t-?\tshow usage information" | ||
273 | #ifdef BB_FEATURE_HUMAN_READABLE | 273 | #ifdef BB_FEATURE_HUMAN_READABLE |
274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 274 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
275 | "\t-m\tprint sizes in megabytes\n" | 275 | "\t-m\tprint sizes in megabytes\n" |
276 | "\t-k\tprint sizes in kilobytes(default)" | 276 | "\t-k\tprint sizes in kilobytes(default)" |
277 | #else | 277 | #else |
@@ -356,7 +356,7 @@ DO_COMMA | |||
356 | #if defined USAGE_ENUM | 356 | #if defined USAGE_ENUM |
357 | du_usage_index | 357 | du_usage_index |
358 | #elif defined USAGE_MESSAGES | 358 | #elif defined USAGE_MESSAGES |
359 | "[-?ls" | 359 | "[-ls" |
360 | #ifdef BB_FEATURE_HUMAN_READABLE | 360 | #ifdef BB_FEATURE_HUMAN_READABLE |
361 | "hm" | 361 | "hm" |
362 | #endif | 362 | #endif |
@@ -365,11 +365,10 @@ du_usage_index | |||
365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" | 365 | "\n\nSummarizes disk space used for each FILE and/or directory.\n" |
366 | "Disk space is printed in units of 1024 bytes.\n\n" | 366 | "Disk space is printed in units of 1024 bytes.\n\n" |
367 | "Options:\n" | 367 | "Options:\n" |
368 | "\t-?\tshow usage information\n" | ||
369 | "\t-l\tcount sizes many times if hard linked\n" | 368 | "\t-l\tcount sizes many times if hard linked\n" |
370 | "\t-s\tdisplay only a total for each argument" | 369 | "\t-s\tdisplay only a total for each argument" |
371 | #ifdef BB_FEATURE_HUMAN_READABLE | 370 | #ifdef BB_FEATURE_HUMAN_READABLE |
372 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 371 | "\n\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
373 | "\t-m\tprint sizes in megabytes\n" | 372 | "\t-m\tprint sizes in megabytes\n" |
374 | "\t-k\tprint sizes in kilobytes(default)" | 373 | "\t-k\tprint sizes in kilobytes(default)" |
375 | #else | 374 | #else |
@@ -386,7 +385,7 @@ dumpkmap_usage_index | |||
386 | #elif defined USAGE_MESSAGES | 385 | #elif defined USAGE_MESSAGES |
387 | "> keymap" | 386 | "> keymap" |
388 | #ifndef BB_FEATURE_TRIVIAL_HELP | 387 | #ifndef BB_FEATURE_TRIVIAL_HELP |
389 | "\n\nPrints out a binary keyboard translation table to standard input." | 388 | "\n\nPrints out a binary keyboard translation table to standard output" |
390 | #endif | 389 | #endif |
391 | #endif | 390 | #endif |
392 | DO_COMMA | 391 | DO_COMMA |
@@ -994,7 +993,7 @@ ls_usage_index | |||
994 | #endif | 993 | #endif |
995 | 994 | ||
996 | #ifdef BB_FEATURE_HUMAN_READABLE | 995 | #ifdef BB_FEATURE_HUMAN_READABLE |
997 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G )\n" | 996 | "\t-h\tprint sizes in human readable format (e.g., 1K 243M 2G)\n" |
998 | "\t-k\tprint sizes in kilobytes(default)" | 997 | "\t-k\tprint sizes in kilobytes(default)" |
999 | #else | 998 | #else |
1000 | "\t-k\tprint sizes in kilobytes(compatability)" | 999 | "\t-k\tprint sizes in kilobytes(compatability)" |
@@ -1136,7 +1135,8 @@ mkswap_usage_index | |||
1136 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" | 1135 | "\n\nPrepare a disk partition to be used as a swap partition.\n\n" |
1137 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" | 1136 | "Options:\n" "\t-c\t\tCheck for read-ability.\n" |
1138 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" | 1137 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" |
1139 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels > 2.1.117).\n" | 1138 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n" |
1139 | "\t\t\t2.1.117).\n" | ||
1140 | "\tblock-count\tNumber of block to use (default is entire partition)." | 1140 | "\tblock-count\tNumber of block to use (default is entire partition)." |
1141 | #endif | 1141 | #endif |
1142 | #endif | 1142 | #endif |
@@ -1178,7 +1178,7 @@ mount_usage_index | |||
1178 | "Flags:\n" | 1178 | "Flags:\n" |
1179 | "\t-a:\t\tMount all filesystems in fstab.\n" | 1179 | "\t-a:\t\tMount all filesystems in fstab.\n" |
1180 | #ifdef BB_MTAB | 1180 | #ifdef BB_MTAB |
1181 | "\t-f:\t\t\"Fake\" mount. Add entry to mount table but don't mount it.\n" | 1181 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" |
1182 | "\t-n:\t\tDon't write a mount table entry.\n" | 1182 | "\t-n:\t\tDon't write a mount table entry.\n" |
1183 | #endif | 1183 | #endif |
1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" | 1184 | "\t-o option:\tOne of many filesystem options, listed below.\n" |
@@ -1195,7 +1195,7 @@ mount_usage_index | |||
1195 | "\tloop:\t\tMounts a file via loop device.\n" | 1195 | "\tloop:\t\tMounts a file via loop device.\n" |
1196 | #endif | 1196 | #endif |
1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" | 1197 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" |
1198 | "\tremount:\tRe-mount a currently-mounted filesystem, changing its flags.\n" | 1198 | "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" |
1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" | 1199 | "\tro/rw:\t\tMount for read-only / read-write.\n" |
1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" | 1200 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" |
1201 | "You'll have to see the written documentation for those." | 1201 | "You'll have to see the written documentation for those." |
@@ -1492,7 +1492,6 @@ sed_usage_index | |||
1492 | "-n\t\tsuppress automatic printing of pattern space\n" | 1492 | "-n\t\tsuppress automatic printing of pattern space\n" |
1493 | "-e script\tadd the script to the commands to be executed\n" | 1493 | "-e script\tadd the script to the commands to be executed\n" |
1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" | 1494 | "-f scriptfile\tadd the contents of script-file to the commands to be executed\n" |
1495 | "-h\t\tdisplay this help message\n" | ||
1496 | "\n" | 1495 | "\n" |
1497 | "If no -e or -f is given, the first non-option argument is taken as the\n" | 1496 | "If no -e or -f is given, the first non-option argument is taken as the\n" |
1498 | "sed script to interpret. All remaining arguments are names of input\n" | 1497 | "sed script to interpret. All remaining arguments are names of input\n" |