aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-14 05:43:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-14 05:43:22 +0100
commitbb169f4217598cc339a42ce7a14a577639e95eea (patch)
treeeba0ff32288dcf45f1a3995a68c4ccb53e488327
parent125c2d2690df5219d83f04fe1000f13c4738accd (diff)
downloadbusybox-w32-bb169f4217598cc339a42ce7a14a577639e95eea.tar.gz
busybox-w32-bb169f4217598cc339a42ce7a14a577639e95eea.tar.bz2
busybox-w32-bb169f4217598cc339a42ce7a14a577639e95eea.zip
trim help text
function old new delta packed_usage 26860 26663 -197 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/usage.h131
1 files changed, 65 insertions, 66 deletions
diff --git a/include/usage.h b/include/usage.h
index 7863a716b..26a61ca25 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -57,7 +57,7 @@
57#define adjtimex_trivial_usage \ 57#define adjtimex_trivial_usage \
58 "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" 58 "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]"
59#define adjtimex_full_usage "\n\n" \ 59#define adjtimex_full_usage "\n\n" \
60 "Read and optionally set system timebase parameters. See adjtimex(2).\n" \ 60 "Read and optionally set system timebase parameters. See adjtimex(2)\n" \
61 "\nOptions:" \ 61 "\nOptions:" \
62 "\n -q Quiet" \ 62 "\n -q Quiet" \
63 "\n -o OFF Time offset, microseconds" \ 63 "\n -o OFF Time offset, microseconds" \
@@ -191,19 +191,19 @@
191 ) \ 191 ) \
192 192
193#define bunzip2_trivial_usage \ 193#define bunzip2_trivial_usage \
194 "[OPTIONS] [FILE]" 194 "[OPTIONS] [FILE]..."
195#define bunzip2_full_usage "\n\n" \ 195#define bunzip2_full_usage "\n\n" \
196 "Uncompress FILE (or standard input)\n" \ 196 "Uncompress FILEs (or stdin)\n" \
197 "\nOptions:" \ 197 "\nOptions:" \
198 "\n -c Write to standard output" \ 198 "\n -c Write to stdout" \
199 "\n -f Force" \ 199 "\n -f Force" \
200 200
201#define bzip2_trivial_usage \ 201#define bzip2_trivial_usage \
202 "[OPTIONS] [FILE]..." 202 "[OPTIONS] [FILE]..."
203#define bzip2_full_usage "\n\n" \ 203#define bzip2_full_usage "\n\n" \
204 "Compress FILEs (or standard input) with bzip2 algorithm.\n" \ 204 "Compress FILEs (or stdin) with bzip2 algorithm\n" \
205 "\nOptions:" \ 205 "\nOptions:" \
206 "\n -c Write to standard output" \ 206 "\n -c Write to stout" \
207 "\n -d Decompress" \ 207 "\n -d Decompress" \
208 "\n -f Force" \ 208 "\n -f Force" \
209 "\n -1..-9 Compression level" \ 209 "\n -1..-9 Compression level" \
@@ -214,7 +214,7 @@
214#define lzop_trivial_usage \ 214#define lzop_trivial_usage \
215 "[-cfvd123456789CF] [FILE]..." 215 "[-cfvd123456789CF] [FILE]..."
216#define lzop_full_usage "\n\n" \ 216#define lzop_full_usage "\n\n" \
217 " -c Write to standard output" \ 217 " -c Write to stdout" \
218 "\n -f Force" \ 218 "\n -f Force" \
219 "\n -v Verbose" \ 219 "\n -v Verbose" \
220 "\n -d Decompress" \ 220 "\n -d Decompress" \
@@ -231,7 +231,7 @@
231#define unlzop_trivial_usage \ 231#define unlzop_trivial_usage \
232 "[-cfvCF] [FILE]..." 232 "[-cfvCF] [FILE]..."
233#define unlzop_full_usage "\n\n" \ 233#define unlzop_full_usage "\n\n" \
234 " -c Write to standard output" \ 234 " -c Write to stdout" \
235 "\n -f Force" \ 235 "\n -f Force" \
236 "\n -v Verbose" \ 236 "\n -v Verbose" \
237 "\n -F Don't store or verify checksum" \ 237 "\n -F Don't store or verify checksum" \
@@ -242,11 +242,11 @@
242 "Uncompress to stdout" 242 "Uncompress to stdout"
243 243
244#define unlzma_trivial_usage \ 244#define unlzma_trivial_usage \
245 "[OPTIONS] [FILE]" 245 "[OPTIONS] [FILE]..."
246#define unlzma_full_usage "\n\n" \ 246#define unlzma_full_usage "\n\n" \
247 "Uncompress FILE (or standard input)\n" \ 247 "Uncompress FILE (or stdin)\n" \
248 "\nOptions:" \ 248 "\nOptions:" \
249 "\n -c Write to standard output" \ 249 "\n -c Write to stdout" \
250 "\n -f Force" \ 250 "\n -f Force" \
251 251
252#define lzmacat_trivial_usage \ 252#define lzmacat_trivial_usage \
@@ -436,9 +436,9 @@
436 "\n -c BYTES Limit core file size" \ 436 "\n -c BYTES Limit core file size" \
437 "\n -v Verbose" \ 437 "\n -v Verbose" \
438 "\n -P Create new process group" \ 438 "\n -P Create new process group" \
439 "\n -0 Close standard input" \ 439 "\n -0 Close stdin" \
440 "\n -1 Close standard output" \ 440 "\n -1 Close stdout" \
441 "\n -2 Close standard error" \ 441 "\n -2 Close stderr" \
442 442
443#define setuidgid_trivial_usage \ 443#define setuidgid_trivial_usage \
444 "USER PROG ARGS" 444 "USER PROG ARGS"
@@ -567,7 +567,7 @@
567 "Extract or list files from a cpio archive" \ 567 "Extract or list files from a cpio archive" \
568 IF_FEATURE_CPIO_O(", or" \ 568 IF_FEATURE_CPIO_O(", or" \
569 "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \ 569 "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \
570 " using file list on standard input" \ 570 " using file list on stdin" \
571 ) \ 571 ) \
572 "\n" \ 572 "\n" \
573 "\nMain operation mode:" \ 573 "\nMain operation mode:" \
@@ -658,7 +658,7 @@
658#define cut_trivial_usage \ 658#define cut_trivial_usage \
659 "[OPTIONS] [FILE]..." 659 "[OPTIONS] [FILE]..."
660#define cut_full_usage "\n\n" \ 660#define cut_full_usage "\n\n" \
661 "Print selected fields from each input FILE to standard output\n" \ 661 "Print selected fields from each input FILE to stdout\n" \
662 "\nOptions:" \ 662 "\nOptions:" \
663 "\n -b LIST Output only bytes from LIST" \ 663 "\n -b LIST Output only bytes from LIST" \
664 "\n -c LIST Output only characters from LIST" \ 664 "\n -c LIST Output only characters from LIST" \
@@ -721,7 +721,7 @@
721 "p - print top of the stack (without altering the stack),\n" \ 721 "p - print top of the stack (without altering the stack),\n" \
722 "f - print entire stack, o - pop the value and set output radix\n" \ 722 "f - print entire stack, o - pop the value and set output radix\n" \
723 "(value must be 10 or 16).\n" \ 723 "(value must be 10 or 16).\n" \
724 "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16.\n" \ 724 "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n" \
725 725
726#define dc_example_usage \ 726#define dc_example_usage \
727 "$ dc 2 2 + p\n" \ 727 "$ dc 2 2 + p\n" \
@@ -993,7 +993,7 @@
993#define dumpkmap_trivial_usage \ 993#define dumpkmap_trivial_usage \
994 "> keymap" 994 "> keymap"
995#define dumpkmap_full_usage "\n\n" \ 995#define dumpkmap_full_usage "\n\n" \
996 "Print a binary keyboard translation table to standard output" 996 "Print a binary keyboard translation table to stdout"
997#define dumpkmap_example_usage \ 997#define dumpkmap_example_usage \
998 "$ dumpkmap > keymap\n" 998 "$ dumpkmap > keymap\n"
999 999
@@ -1058,7 +1058,7 @@
1058#define eject_trivial_usage \ 1058#define eject_trivial_usage \
1059 "[-t] [-T] [DEVICE]" 1059 "[-t] [-T] [DEVICE]"
1060#define eject_full_usage "\n\n" \ 1060#define eject_full_usage "\n\n" \
1061 "Eject specified DEVICE (or default /dev/cdrom)\n" \ 1061 "Eject DEVICE or default /dev/cdrom\n" \
1062 "\nOptions:" \ 1062 "\nOptions:" \
1063 IF_FEATURE_EJECT_SCSI( \ 1063 IF_FEATURE_EJECT_SCSI( \
1064 "\n -s SCSI device" \ 1064 "\n -s SCSI device" \
@@ -1092,7 +1092,7 @@
1092#define expand_trivial_usage \ 1092#define expand_trivial_usage \
1093 "[-i] [-t N] [FILE|-]" 1093 "[-i] [-t N] [FILE|-]"
1094#define expand_full_usage "\n\n" \ 1094#define expand_full_usage "\n\n" \
1095 "Convert tabs to spaces, writing to standard output\n" \ 1095 "Convert tabs to spaces, writing to stdout\n" \
1096 "\nOptions:" \ 1096 "\nOptions:" \
1097 IF_FEATURE_EXPAND_LONG_OPTIONS( \ 1097 IF_FEATURE_EXPAND_LONG_OPTIONS( \
1098 "\n -i,--initial Don't convert tabs after non blanks" \ 1098 "\n -i,--initial Don't convert tabs after non blanks" \
@@ -1106,7 +1106,7 @@
1106#define expr_trivial_usage \ 1106#define expr_trivial_usage \
1107 "EXPRESSION" 1107 "EXPRESSION"
1108#define expr_full_usage "\n\n" \ 1108#define expr_full_usage "\n\n" \
1109 "Print the value of EXPRESSION to standard output\n" \ 1109 "Print the value of EXPRESSION to stdout\n" \
1110 "\n" \ 1110 "\n" \
1111 "EXPRESSION may be:\n" \ 1111 "EXPRESSION may be:\n" \
1112 " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ 1112 " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \
@@ -1261,7 +1261,7 @@
1261 IF_FEATURE_FIND_DEPTH( \ 1261 IF_FEATURE_FIND_DEPTH( \
1262 "\n -depth Process directory name after traversing it") \ 1262 "\n -depth Process directory name after traversing it") \
1263 IF_FEATURE_FIND_SIZE( \ 1263 IF_FEATURE_FIND_SIZE( \
1264 "\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))." \ 1264 "\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))" \
1265 "\n +/-N: file size is bigger/smaller than N") \ 1265 "\n +/-N: file size is bigger/smaller than N") \
1266 IF_FEATURE_FIND_LINKS( \ 1266 IF_FEATURE_FIND_LINKS( \
1267 "\n -links N Number of links is greater than (+N), less than (-N)," \ 1267 "\n -links N Number of links is greater than (+N), less than (-N)," \
@@ -1313,10 +1313,9 @@
1313 "\n -v Verbose" \ 1313 "\n -v Verbose" \
1314 1314
1315#define fold_trivial_usage \ 1315#define fold_trivial_usage \
1316 "[-bs] [-w WIDTH] [FILE]" 1316 "[-bs] [-w WIDTH] [FILE]..."
1317#define fold_full_usage "\n\n" \ 1317#define fold_full_usage "\n\n" \
1318 "Wrap input lines in each FILE (standard input by default), writing to\n" \ 1318 "Wrap input lines in each FILE (or stdin), writing to stdout\n" \
1319 "standard output\n" \
1320 "\nOptions:" \ 1319 "\nOptions:" \
1321 "\n -b Count bytes rather than columns" \ 1320 "\n -b Count bytes rather than columns" \
1322 "\n -s Break at spaces" \ 1321 "\n -s Break at spaces" \
@@ -1468,7 +1467,7 @@
1468 "#!/bin/sh\n" \ 1467 "#!/bin/sh\n" \
1469 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ 1468 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
1470 " -n 'example.busybox' -- \"$@\"`\n" \ 1469 " -n 'example.busybox' -- \"$@\"`\n" \
1471 "if [ $? != 0 ]; then exit 1; fi\n" \ 1470 "if [ $? != 0 ]; then exit 1; fi\n" \
1472 "eval set -- \"$GETOPT\"\n" \ 1471 "eval set -- \"$GETOPT\"\n" \
1473 "while true; do\n" \ 1472 "while true; do\n" \
1474 " case $1 in\n" \ 1473 " case $1 in\n" \
@@ -1516,7 +1515,7 @@
1516 IF_FEATURE_GREP_CONTEXT("[-A/B/C N] ") \ 1515 IF_FEATURE_GREP_CONTEXT("[-A/B/C N] ") \
1517 "PATTERN/-e PATTERN.../-f FILE [FILE]..." 1516 "PATTERN/-e PATTERN.../-f FILE [FILE]..."
1518#define grep_full_usage "\n\n" \ 1517#define grep_full_usage "\n\n" \
1519 "Search for PATTERN in each FILE or standard input\n" \ 1518 "Search for PATTERN in FILEs (or stdin)\n" \
1520 "\nOptions:" \ 1519 "\nOptions:" \
1521 "\n -H Add 'filename:' prefix" \ 1520 "\n -H Add 'filename:' prefix" \
1522 "\n -h Do not add 'filename:' prefix" \ 1521 "\n -h Do not add 'filename:' prefix" \
@@ -1564,9 +1563,9 @@
1564#define gunzip_trivial_usage \ 1563#define gunzip_trivial_usage \
1565 "[OPTIONS] [FILE]..." 1564 "[OPTIONS] [FILE]..."
1566#define gunzip_full_usage "\n\n" \ 1565#define gunzip_full_usage "\n\n" \
1567 "Uncompress FILEs (or standard input)\n" \ 1566 "Uncompress FILEs (or stdin)\n" \
1568 "\nOptions:" \ 1567 "\nOptions:" \
1569 "\n -c Write to standard output" \ 1568 "\n -c Write to stdout" \
1570 "\n -f Force" \ 1569 "\n -f Force" \
1571 "\n -t Test file integrity" \ 1570 "\n -t Test file integrity" \
1572 1571
@@ -1580,9 +1579,9 @@
1580#define gzip_trivial_usage \ 1579#define gzip_trivial_usage \
1581 "[OPTIONS] [FILE]..." 1580 "[OPTIONS] [FILE]..."
1582#define gzip_full_usage "\n\n" \ 1581#define gzip_full_usage "\n\n" \
1583 "Compress FILEs (or standard input)\n" \ 1582 "Compress FILEs (or stdin)\n" \
1584 "\nOptions:" \ 1583 "\nOptions:" \
1585 "\n -c Write to standard output" \ 1584 "\n -c Write to stdout" \
1586 "\n -d Decompress" \ 1585 "\n -d Decompress" \
1587 "\n -f Force" \ 1586 "\n -f Force" \
1588 1587
@@ -1659,7 +1658,7 @@
1659#define head_trivial_usage \ 1658#define head_trivial_usage \
1660 "[OPTIONS] [FILE]..." 1659 "[OPTIONS] [FILE]..."
1661#define head_full_usage "\n\n" \ 1660#define head_full_usage "\n\n" \
1662 "Print first 10 lines of each FILE (or standard input) to standard output.\n" \ 1661 "Print first 10 lines of each FILE (or stdin) to stdout.\n" \
1663 "With more than one FILE, precede each with a header giving the file name.\n" \ 1662 "With more than one FILE, precede each with a header giving the file name.\n" \
1664 "\nOptions:" \ 1663 "\nOptions:" \
1665 "\n -n N Print first N lines instead of first 10" \ 1664 "\n -n N Print first N lines instead of first 10" \
@@ -1674,9 +1673,9 @@
1674 "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" 1673 "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n"
1675 1674
1676#define hexdump_trivial_usage \ 1675#define hexdump_trivial_usage \
1677 "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] FILE..." 1676 "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..."
1678#define hexdump_full_usage "\n\n" \ 1677#define hexdump_full_usage "\n\n" \
1679 "Display FILEs or standard input in a user specified format\n" \ 1678 "Display FILEs (or stdin) in a user specified format\n" \
1680 "\nOptions:" \ 1679 "\nOptions:" \
1681 "\n -b One-byte octal display" \ 1680 "\n -b One-byte octal display" \
1682 "\n -c One-byte character display" \ 1681 "\n -c One-byte character display" \
@@ -2028,11 +2027,11 @@
2028" ::shutdown:/sbin/swapoff -a\n" 2027" ::shutdown:/sbin/swapoff -a\n"
2029 2028
2030#define inotifyd_trivial_usage \ 2029#define inotifyd_trivial_usage \
2031 "PROG FILE1[:MASK] ..." 2030 "PROG FILE1[:MASK]..."
2032#define inotifyd_full_usage "\n\n" \ 2031#define inotifyd_full_usage "\n\n" \
2033 "Run PROG on filesystem changes." \ 2032 "Run PROG on filesystem changes." \
2034 "\nWhen a filesystem event matching MASK occurs on FILEn," \ 2033 "\nWhen a filesystem event matching MASK occurs on FILEn," \
2035 "\nPROG <actual_event(s)> <FILEn> [<subfile_name>] is run." \ 2034 "\nPROG ACTUAL_EVENTS FILEn [SUBFILE] is run." \
2036 "\nEvents:" \ 2035 "\nEvents:" \
2037 "\n a File is accessed" \ 2036 "\n a File is accessed" \
2038 "\n c File is modified" \ 2037 "\n c File is modified" \
@@ -2052,7 +2051,7 @@
2052 "\n d Subfile is deleted" \ 2051 "\n d Subfile is deleted" \
2053 "\n" \ 2052 "\n" \
2054 "\ninotifyd waits for PROG to exit." \ 2053 "\ninotifyd waits for PROG to exit." \
2055 "\nWhen x event happens for all FILEs, inotifyd exits" \ 2054 "\nWhen x event happens for all FILEs, inotifyd exits." \
2056 2055
2057/* 2.6 style insmod has no options and required filename 2056/* 2.6 style insmod has no options and required filename
2058 * (not module name - .ko can't be omitted) */ 2057 * (not module name - .ko can't be omitted) */
@@ -2297,8 +2296,7 @@
2297#define less_trivial_usage \ 2296#define less_trivial_usage \
2298 "[-EMNmh~I?] [FILE]..." 2297 "[-EMNmh~I?] [FILE]..."
2299#define less_full_usage "\n\n" \ 2298#define less_full_usage "\n\n" \
2300 "View a file or list of files. The position within files can be\n" \ 2299 "View FILE (or stdin) one screenful at a time\n" \
2301 "changed, and files can be manipulated in various ways.\n" \
2302 "\nOptions:" \ 2300 "\nOptions:" \
2303 "\n -E Quit once the end of a file is reached" \ 2301 "\n -E Quit once the end of a file is reached" \
2304 "\n -M,-m Display status line with line numbers" \ 2302 "\n -M,-m Display status line with line numbers" \
@@ -2344,7 +2342,7 @@
2344#define loadfont_trivial_usage \ 2342#define loadfont_trivial_usage \
2345 "< font" 2343 "< font"
2346#define loadfont_full_usage "\n\n" \ 2344#define loadfont_full_usage "\n\n" \
2347 "Load a console font from standard input" \ 2345 "Load a console font from stdin" \
2348/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ 2346/* "\n -C TTY Affect TTY instead of /dev/tty" */ \
2349 2347
2350#define loadfont_example_usage \ 2348#define loadfont_example_usage \
@@ -2353,7 +2351,7 @@
2353#define loadkmap_trivial_usage \ 2351#define loadkmap_trivial_usage \
2354 "< keymap" 2352 "< keymap"
2355#define loadkmap_full_usage "\n\n" \ 2353#define loadkmap_full_usage "\n\n" \
2356 "Load a binary keyboard translation table from standard input\n" \ 2354 "Load a binary keyboard translation table from stdin\n" \
2357/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ 2355/* "\n -C TTY Affect TTY instead of /dev/tty" */ \
2358 2356
2359#define loadkmap_example_usage \ 2357#define loadkmap_example_usage \
@@ -2362,7 +2360,7 @@
2362#define logger_trivial_usage \ 2360#define logger_trivial_usage \
2363 "[OPTIONS] [MESSAGE]" 2361 "[OPTIONS] [MESSAGE]"
2364#define logger_full_usage "\n\n" \ 2362#define logger_full_usage "\n\n" \
2365 "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n" \ 2363 "Write MESSAGE (or stdin) to syslog\n" \
2366 "\nOptions:" \ 2364 "\nOptions:" \
2367 "\n -s Log to stderr as well as the system log" \ 2365 "\n -s Log to stderr as well as the system log" \
2368 "\n -t TAG Log using the specified tag (defaults to user name)" \ 2366 "\n -t TAG Log using the specified tag (defaults to user name)" \
@@ -2972,7 +2970,7 @@
2972#define more_trivial_usage \ 2970#define more_trivial_usage \
2973 "[FILE]..." 2971 "[FILE]..."
2974#define more_full_usage "\n\n" \ 2972#define more_full_usage "\n\n" \
2975 "View FILE or standard input one screenful at a time" 2973 "View FILE (or stdin) one screenful at a time"
2976 2974
2977#define more_example_usage \ 2975#define more_example_usage \
2978 "$ dmesg | more\n" 2976 "$ dmesg | more\n"
@@ -3261,7 +3259,7 @@
3261 "[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]" 3259 "[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]"
3262#define od_full_usage "\n\n" \ 3260#define od_full_usage "\n\n" \
3263 "Write an unambiguous representation, octal bytes by default, of FILE\n" \ 3261 "Write an unambiguous representation, octal bytes by default, of FILE\n" \
3264 "(or standard input) to standard output." 3262 "(or stdin) to stdout"
3265 3263
3266#define openvt_trivial_usage \ 3264#define openvt_trivial_usage \
3267 "[-c N] [-sw] [PROG ARGS]" 3265 "[-c N] [-sw] [PROG ARGS]"
@@ -3639,10 +3637,10 @@
3639 "Parse MIME-encoded message\n" \ 3637 "Parse MIME-encoded message\n" \
3640 "\nOptions:" \ 3638 "\nOptions:" \
3641 "\n -x PREFIX Extract content of MIME sections to files" \ 3639 "\n -x PREFIX Extract content of MIME sections to files" \
3642 "\n -X PROG ARGS Filter content of MIME sections through prog." \ 3640 "\n -X PROG ARGS Filter content of MIME sections through PROG" \
3643 "\n Must be the last option" \ 3641 "\n Must be the last option" \
3644 "\n" \ 3642 "\n" \
3645 "\nOther options are silently ignored." \ 3643 "\nOther options are silently ignored" \
3646 3644
3647#define renice_trivial_usage \ 3645#define renice_trivial_usage \
3648 "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]" 3646 "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]"
@@ -3918,7 +3916,7 @@
3918 "[-w] [-s SEP] [FIRST [INC]] LAST" 3916 "[-w] [-s SEP] [FIRST [INC]] LAST"
3919#define seq_full_usage "\n\n" \ 3917#define seq_full_usage "\n\n" \
3920 "Print numbers from FIRST to LAST, in steps of INC.\n" \ 3918 "Print numbers from FIRST to LAST, in steps of INC.\n" \
3921 "FIRST, INC default to 1\n" \ 3919 "FIRST, INC default to 1.\n" \
3922 "\nOptions:" \ 3920 "\nOptions:" \
3923 "\n -w Pad to last with leading zeros" \ 3921 "\n -w Pad to last with leading zeros" \
3924 "\n -s SEP String separator" \ 3922 "\n -s SEP String separator" \
@@ -3959,7 +3957,7 @@
3959 "\n -e DIR Exclude DIR" \ 3957 "\n -e DIR Exclude DIR" \
3960 "\n -F Force reset of context to match file_context for customizable files" \ 3958 "\n -F Force reset of context to match file_context for customizable files" \
3961 "\n -o FILE Save list of files with incorrect context" \ 3959 "\n -o FILE Save list of files with incorrect context" \
3962 "\n -s Take a list of files from standard input (instead of command line)" \ 3960 "\n -s Take a list of files from stdin (instead of command line)" \
3963 "\n -v Show changes in file labels, if type or role are changing" \ 3961 "\n -v Show changes in file labels, if type or role are changing" \
3964 "\n -vv Show changes in file labels, if type, role, or user are changing" \ 3962 "\n -vv Show changes in file labels, if type, role, or user are changing" \
3965 "\n -W Display warnings about entries that had no matching files" \ 3963 "\n -W Display warnings about entries that had no matching files" \
@@ -3981,7 +3979,7 @@
3981 "Set entries into the kernel's scancode-to-keycode map,\n" \ 3979 "Set entries into the kernel's scancode-to-keycode map,\n" \
3982 "allowing unusual keyboards to generate usable keycodes.\n\n" \ 3980 "allowing unusual keyboards to generate usable keycodes.\n\n" \
3983 "SCANCODE may be either xx or e0xx (hexadecimal),\n" \ 3981 "SCANCODE may be either xx or e0xx (hexadecimal),\n" \
3984 "and KEYCODE is given in decimal" \ 3982 "and KEYCODE is given in decimal." \
3985 3983
3986#define setkeycodes_example_usage \ 3984#define setkeycodes_example_usage \
3987 "$ setkeycodes e030 127\n" 3985 "$ setkeycodes e030 127\n"
@@ -4299,7 +4297,7 @@
4299#define svlogd_trivial_usage \ 4297#define svlogd_trivial_usage \
4300 "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." 4298 "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..."
4301#define svlogd_full_usage "\n\n" \ 4299#define svlogd_full_usage "\n\n" \
4302 "Continuously read log data from standard input, optionally\n" \ 4300 "Continuously read log data from stdin, optionally\n" \
4303 "filter log messages, and write the data to one or more automatically\n" \ 4301 "filter log messages, and write the data to one or more automatically\n" \
4304 "rotated logs" \ 4302 "rotated logs" \
4305 4303
@@ -4364,7 +4362,7 @@
4364 "[OPTIONS]" 4362 "[OPTIONS]"
4365#define syslogd_full_usage "\n\n" \ 4363#define syslogd_full_usage "\n\n" \
4366 "System logging utility.\n" \ 4364 "System logging utility.\n" \
4367 "Note that this version of syslogd ignores /etc/syslog.conf.\n" \ 4365 "This version of syslogd ignores /etc/syslog.conf\n" \
4368 "\nOptions:" \ 4366 "\nOptions:" \
4369 "\n -n Run in foreground" \ 4367 "\n -n Run in foreground" \
4370 "\n -O FILE Log to given file (default:/var/log/messages)" \ 4368 "\n -O FILE Log to given file (default:/var/log/messages)" \
@@ -4395,7 +4393,7 @@
4395#define tail_trivial_usage \ 4393#define tail_trivial_usage \
4396 "[OPTIONS] [FILE]..." 4394 "[OPTIONS] [FILE]..."
4397#define tail_full_usage "\n\n" \ 4395#define tail_full_usage "\n\n" \
4398 "Print last 10 lines of each FILE (or standard input) to standard output.\n" \ 4396 "Print last 10 lines of each FILE (or stdin) to stdout.\n" \
4399 "With more than one FILE, precede each with a header giving the file name.\n" \ 4397 "With more than one FILE, precede each with a header giving the file name.\n" \
4400 "\nOptions:" \ 4398 "\nOptions:" \
4401 IF_FEATURE_FANCY_TAIL( \ 4399 IF_FEATURE_FANCY_TAIL( \
@@ -4484,7 +4482,7 @@
4484#define tee_trivial_usage \ 4482#define tee_trivial_usage \
4485 "[OPTIONS] [FILE]..." 4483 "[OPTIONS] [FILE]..."
4486#define tee_full_usage "\n\n" \ 4484#define tee_full_usage "\n\n" \
4487 "Copy standard input to each FILE, and also to standard output\n" \ 4485 "Copy stdin to each FILE, and also to stdout\n" \
4488 "\nOptions:" \ 4486 "\nOptions:" \
4489 "\n -a Append to the given FILEs, don't overwrite" \ 4487 "\n -a Append to the given FILEs, don't overwrite" \
4490 "\n -i Ignore interrupt signals (SIGINT)" \ 4488 "\n -i Ignore interrupt signals (SIGINT)" \
@@ -4578,7 +4576,7 @@
4578/* with not-implemented options: */ 4576/* with not-implemented options: */
4579/* "[-hpEvv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] [-i DIR|-x CDB] [-t SEC] IP PORT PROG" */ 4577/* "[-hpEvv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] [-i DIR|-x CDB] [-t SEC] IP PORT PROG" */
4580#define tcpsvd_full_usage "\n\n" \ 4578#define tcpsvd_full_usage "\n\n" \
4581 "Create TCP socket, bind to IP:PORT and listen\n" \ 4579 "Create TCP socket, bind to IP:PORT and listen\n" \
4582 "for incoming connection. Run PROG for each connection.\n" \ 4580 "for incoming connection. Run PROG for each connection.\n" \
4583 "\n IP IP to listen on. '0' = all" \ 4581 "\n IP IP to listen on. '0' = all" \
4584 "\n PORT Port to listen on" \ 4582 "\n PORT Port to listen on" \
@@ -4645,12 +4643,12 @@
4645#define time_trivial_usage \ 4643#define time_trivial_usage \
4646 "[OPTIONS] PROG ARGS" 4644 "[OPTIONS] PROG ARGS"
4647#define time_full_usage "\n\n" \ 4645#define time_full_usage "\n\n" \
4648 "Run PROG. When it finishes, its resource usage is displayed.\n" \ 4646 "Run PROG, display resource usage when it exits\n" \
4649 "\nOptions:" \ 4647 "\nOptions:" \
4650 "\n -v Verbose" \ 4648 "\n -v Verbose" \
4651 4649
4652#define timeout_trivial_usage \ 4650#define timeout_trivial_usage \
4653 "[-t SECS] [-s SIG] PROG ARGS" 4651 "[-t SECS] [-s SIG] PROG ARGS"
4654#define timeout_full_usage "\n\n" \ 4652#define timeout_full_usage "\n\n" \
4655 "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \ 4653 "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \
4656 "Defaults: SECS: 10, SIG: TERM." \ 4654 "Defaults: SECS: 10, SIG: TERM." \
@@ -4660,7 +4658,8 @@
4660#define top_full_usage "\n\n" \ 4658#define top_full_usage "\n\n" \
4661 "Provide a view of process activity in real time.\n" \ 4659 "Provide a view of process activity in real time.\n" \
4662 "Read the status of all processes from /proc each SECONDS\n" \ 4660 "Read the status of all processes from /proc each SECONDS\n" \
4663 "and show the status for however many processes will fit on the screen." \ 4661 "and display a screenful of them." \
4662//TODO: add options and keyboard commands
4664 4663
4665#define touch_trivial_usage \ 4664#define touch_trivial_usage \
4666 "[-c] [-d DATE] FILE [FILE]..." 4665 "[-c] [-d DATE] FILE [FILE]..."
@@ -4680,8 +4679,8 @@
4680#define tr_trivial_usage \ 4679#define tr_trivial_usage \
4681 "[-cds] STRING1 [STRING2]" 4680 "[-cds] STRING1 [STRING2]"
4682#define tr_full_usage "\n\n" \ 4681#define tr_full_usage "\n\n" \
4683 "Translate, squeeze, and/or delete characters from\n" \ 4682 "Translate, squeeze, or delete characters from stdin, writing to stdout\n" \
4684 "standard input, writing to standard output\n" \ 4683 "stdin, writing to stdout\n" \
4685 "\nOptions:" \ 4684 "\nOptions:" \
4686 "\n -c Take complement of STRING1" \ 4685 "\n -c Take complement of STRING1" \
4687 "\n -d Delete input characters coded STRING1" \ 4686 "\n -d Delete input characters coded STRING1" \
@@ -4748,7 +4747,7 @@
4748#define tty_trivial_usage \ 4747#define tty_trivial_usage \
4749 "" 4748 ""
4750#define tty_full_usage "\n\n" \ 4749#define tty_full_usage "\n\n" \
4751 "Print file name of standard input's terminal" \ 4750 "Print file name of stdin's terminal" \
4752 IF_INCLUDE_SUSv2( "\n" \ 4751 IF_INCLUDE_SUSv2( "\n" \
4753 "\nOptions:" \ 4752 "\nOptions:" \
4754 "\n -s Print nothing, only return exit status" \ 4753 "\n -s Print nothing, only return exit status" \
@@ -4760,7 +4759,7 @@
4760#define ttysize_trivial_usage \ 4759#define ttysize_trivial_usage \
4761 "[w] [h]" 4760 "[w] [h]"
4762#define ttysize_full_usage "\n\n" \ 4761#define ttysize_full_usage "\n\n" \
4763 "Print dimension(s) of standard input's terminal, on error return 80x25" 4762 "Print dimension(s) of stdin's terminal, on error return 80x25"
4764 4763
4765#define tunctl_trivial_usage \ 4764#define tunctl_trivial_usage \
4766 "[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]") 4765 "[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]")
@@ -4914,7 +4913,7 @@
4914#define unexpand_trivial_usage \ 4913#define unexpand_trivial_usage \
4915 "[-f][-a][-t N] [FILE|-]" 4914 "[-f][-a][-t N] [FILE|-]"
4916#define unexpand_full_usage "\n\n" \ 4915#define unexpand_full_usage "\n\n" \
4917 "Convert spaces to tabs, writing to standard output\n" \ 4916 "Convert spaces to tabs, writing to stdout\n" \
4918 "\nOptions:" \ 4917 "\nOptions:" \
4919 IF_FEATURE_UNEXPAND_LONG_OPTIONS( \ 4918 IF_FEATURE_UNEXPAND_LONG_OPTIONS( \
4920 "\n -a,--all Convert all blanks" \ 4919 "\n -a,--all Convert all blanks" \
@@ -5039,7 +5038,7 @@
5039#define wall_trivial_usage \ 5038#define wall_trivial_usage \
5040 "[FILE]" 5039 "[FILE]"
5041#define wall_full_usage "\n\n" \ 5040#define wall_full_usage "\n\n" \
5042 "Write content of FILE or standard-input to all logged-in users" 5041 "Write content of FILE or stdin to all logged-in users"
5043#define wall_sample_usage \ 5042#define wall_sample_usage \
5044 "echo foo | wall\n" \ 5043 "echo foo | wall\n" \
5045 "wall ./mymessage" 5044 "wall ./mymessage"
@@ -5072,8 +5071,8 @@
5072#define wc_trivial_usage \ 5071#define wc_trivial_usage \
5073 "[OPTIONS] [FILE]..." 5072 "[OPTIONS] [FILE]..."
5074#define wc_full_usage "\n\n" \ 5073#define wc_full_usage "\n\n" \
5075 "Print line, word, and byte counts for each FILE, and a total line if\n" \ 5074 "Print line, word, and byte counts for each FILE (or stdin),\n" \
5076 "more than one FILE is specified. With no FILE, read standard input.\n" \ 5075 "and a total line if more than one FILE is specified\n" \
5077 "\nOptions:" \ 5076 "\nOptions:" \
5078 "\n -c Print the byte counts" \ 5077 "\n -c Print the byte counts" \
5079 "\n -l Print the newline counts" \ 5078 "\n -l Print the newline counts" \
@@ -5127,7 +5126,7 @@
5127#define xargs_trivial_usage \ 5126#define xargs_trivial_usage \
5128 "[OPTIONS] [PROG ARGS]" 5127 "[OPTIONS] [PROG ARGS]"
5129#define xargs_full_usage "\n\n" \ 5128#define xargs_full_usage "\n\n" \
5130 "Run PROG on every item given by standard input\n" \ 5129 "Run PROG on every item given by stdin\n" \
5131 "\nOptions:" \ 5130 "\nOptions:" \
5132 IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ 5131 IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \
5133 "\n -p Ask user whether to run each command") \ 5132 "\n -p Ask user whether to run each command") \