aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-20 03:59:02 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-20 03:59:02 +0200
commitb0bee2b0da4b3270ee5ae6d556c71a6b5ff844bf (patch)
tree7b165cfd70a6a3027fd57af6a5898d77e968eefd
parent7a76eba1f6711ed64902f7b20277b0a2d1645062 (diff)
downloadbusybox-w32-b0bee2b0da4b3270ee5ae6d556c71a6b5ff844bf.tar.gz
busybox-w32-b0bee2b0da4b3270ee5ae6d556c71a6b5ff844bf.tar.bz2
busybox-w32-b0bee2b0da4b3270ee5ae6d556c71a6b5ff844bf.zip
trim/regularize usage texts. -92 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/usage.h398
1 files changed, 199 insertions, 199 deletions
diff --git a/include/usage.h b/include/usage.h
index ad6ee8319..91bc01ee4 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -17,7 +17,6 @@
17 17
18#define acpid_trivial_usage \ 18#define acpid_trivial_usage \
19 "[-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE...]" 19 "[-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE...]"
20
21#define acpid_full_usage "\n\n" \ 20#define acpid_full_usage "\n\n" \
22 "Listen to ACPI events and spawn specific helpers on event arrival\n" \ 21 "Listen to ACPI events and spawn specific helpers on event arrival\n" \
23 "\nOptions:" \ 22 "\nOptions:" \
@@ -122,14 +121,19 @@
122#define hush_full_usage "" 121#define hush_full_usage ""
123#define msh_trivial_usage NOUSAGE_STR 122#define msh_trivial_usage NOUSAGE_STR
124#define msh_full_usage "" 123#define msh_full_usage ""
124#define bbsh_trivial_usage \
125 "[FILE]...\n" \
126 "or: bbsh -c command [args]..."
127#define bbsh_full_usage "\n\n" \
128 "The bbsh shell (command interpreter)"
125 129
126#define awk_trivial_usage \ 130#define awk_trivial_usage \
127 "[OPTION]... [program-text] [FILE...]" 131 "[OPTIONS] [AWK_PROGRAM] [FILE]..."
128#define awk_full_usage "\n\n" \ 132#define awk_full_usage "\n\n" \
129 "Options:" \ 133 "Options:" \
130 "\n -v var=val Set variable" \ 134 "\n -v VAR=VAL Set variable" \
131 "\n -F sep Use sep as field separator" \ 135 "\n -F SEP Use SEP as field separator" \
132 "\n -f file Read program from file" \ 136 "\n -f FILE Read program from file" \
133 137
134#define basename_trivial_usage \ 138#define basename_trivial_usage \
135 "FILE [SUFFIX]" 139 "FILE [SUFFIX]"
@@ -181,7 +185,7 @@
181 ) \ 185 ) \
182 186
183#define bunzip2_trivial_usage \ 187#define bunzip2_trivial_usage \
184 "[OPTION]... [FILE]" 188 "[OPTIONS] [FILE]"
185#define bunzip2_full_usage "\n\n" \ 189#define bunzip2_full_usage "\n\n" \
186 "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ 190 "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \
187 "\nOptions:" \ 191 "\nOptions:" \
@@ -189,7 +193,7 @@
189 "\n -f Force" \ 193 "\n -f Force" \
190 194
191#define bzip2_trivial_usage \ 195#define bzip2_trivial_usage \
192 "[OPTION]... [FILE]..." 196 "[OPTIONS] [FILE]..."
193#define bzip2_full_usage "\n\n" \ 197#define bzip2_full_usage "\n\n" \
194 "Compress FILE(s) with bzip2 algorithm.\n" \ 198 "Compress FILE(s) with bzip2 algorithm.\n" \
195 "When FILE is '-' or unspecified, reads standard input. Implies -c.\n" \ 199 "When FILE is '-' or unspecified, reads standard input. Implies -c.\n" \
@@ -203,7 +207,7 @@
203 "Hello world!\n" 207 "Hello world!\n"
204 208
205#define lzop_trivial_usage \ 209#define lzop_trivial_usage \
206 "[-cfvd123456789CF] [file..]" 210 "[-cfvd123456789CF] [FILE]..."
207#define lzop_full_usage "\n\n" \ 211#define lzop_full_usage "\n\n" \
208 " -c Write to standard output" \ 212 " -c Write to standard output" \
209 "\n -f Force" \ 213 "\n -f Force" \
@@ -214,13 +218,13 @@
214 "\n -1..9 Compression level" \ 218 "\n -1..9 Compression level" \
215 219
216#define lzopcat_trivial_usage \ 220#define lzopcat_trivial_usage \
217 "[-vCF] [file..]" 221 "[-vCF] [FILE]..."
218#define lzopcat_full_usage "\n\n" \ 222#define lzopcat_full_usage "\n\n" \
219 " -v Verbose" \ 223 " -v Verbose" \
220 "\n -F Don't store or verify checksum" \ 224 "\n -F Don't store or verify checksum" \
221 225
222#define unlzop_trivial_usage \ 226#define unlzop_trivial_usage \
223 "[-cfvCF] [file..]" 227 "[-cfvCF] [FILE]..."
224#define unlzop_full_usage "\n\n" \ 228#define unlzop_full_usage "\n\n" \
225 " -c Write to standard output" \ 229 " -c Write to standard output" \
226 "\n -f Force" \ 230 "\n -f Force" \
@@ -233,7 +237,7 @@
233 "Uncompress to stdout" 237 "Uncompress to stdout"
234 238
235#define unlzma_trivial_usage \ 239#define unlzma_trivial_usage \
236 "[OPTION]... [FILE]" 240 "[OPTIONS] [FILE]"
237#define unlzma_full_usage "\n\n" \ 241#define unlzma_full_usage "\n\n" \
238 "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ 242 "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \
239 "\nOptions:" \ 243 "\nOptions:" \
@@ -468,9 +472,9 @@
468 "\n a SIGXCPU after N seconds" \ 472 "\n a SIGXCPU after N seconds" \
469 473
470#define chroot_trivial_usage \ 474#define chroot_trivial_usage \
471 "NEWROOT [COMMAND...]" 475 "NEWROOT [PROG [ARGS]]"
472#define chroot_full_usage "\n\n" \ 476#define chroot_full_usage "\n\n" \
473 "Run COMMAND with root directory set to NEWROOT" 477 "Run PROG with root directory set to NEWROOT"
474#define chroot_example_usage \ 478#define chroot_example_usage \
475 "$ ls -l /bin/ls\n" \ 479 "$ ls -l /bin/ls\n" \
476 "lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ 480 "lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \
@@ -517,14 +521,8 @@
517#define bbconfig_full_usage "\n\n" \ 521#define bbconfig_full_usage "\n\n" \
518 "Print the config file which built busybox" 522 "Print the config file which built busybox"
519 523
520#define bbsh_trivial_usage \
521 "[FILE]...\n" \
522 "or: bbsh -c command [args]..."
523#define bbsh_full_usage "\n\n" \
524 "The bbsh shell (command interpreter)"
525
526#define chrt_trivial_usage \ 524#define chrt_trivial_usage \
527 "[OPTION]... [prio] [pid | command [arg]...]" 525 "[OPTIONS] [PRIO] [PID | PROG [ARGS]]"
528#define chrt_full_usage "\n\n" \ 526#define chrt_full_usage "\n\n" \
529 "Manipulate real-time attributes of a process\n" \ 527 "Manipulate real-time attributes of a process\n" \
530 "\nOptions:" \ 528 "\nOptions:" \
@@ -540,7 +538,7 @@
540 "You need CAP_SYS_NICE privileges to set scheduling attributes of a process" 538 "You need CAP_SYS_NICE privileges to set scheduling attributes of a process"
541 539
542#define cp_trivial_usage \ 540#define cp_trivial_usage \
543 "[OPTION]... SOURCE DEST" 541 "[OPTIONS] SOURCE DEST"
544#define cp_full_usage "\n\n" \ 542#define cp_full_usage "\n\n" \
545 "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" \ 543 "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" \
546 "\nOptions:" \ 544 "\nOptions:" \
@@ -648,7 +646,7 @@
648#define cttyhack_full_usage "" 646#define cttyhack_full_usage ""
649 647
650#define cut_trivial_usage \ 648#define cut_trivial_usage \
651 "[OPTION]... [FILE]..." 649 "[OPTIONS] [FILE]..."
652#define cut_full_usage "\n\n" \ 650#define cut_full_usage "\n\n" \
653 "Print selected fields from each input FILE to standard output\n" \ 651 "Print selected fields from each input FILE to standard output\n" \
654 "\nOptions:" \ 652 "\nOptions:" \
@@ -666,7 +664,7 @@
666 "world\n" 664 "world\n"
667 665
668#define date_trivial_usage \ 666#define date_trivial_usage \
669 "[OPTION]... [+FMT] [TIME]" 667 "[OPTIONS] [+FMT] [TIME]"
670#define date_full_usage "\n\n" \ 668#define date_full_usage "\n\n" \
671 "Display time (using +FMT), or set time\n" \ 669 "Display time (using +FMT), or set time\n" \
672 "\nOptions:" \ 670 "\nOptions:" \
@@ -885,9 +883,18 @@
885 "\n -d Daemonize" \ 883 "\n -d Daemonize" \
886 884
887#define dos2unix_trivial_usage \ 885#define dos2unix_trivial_usage \
888 "[option] [FILE]" 886 "[OPTION] [FILE]"
889#define dos2unix_full_usage "\n\n" \ 887#define dos2unix_full_usage "\n\n" \
890 "Convert FILE from dos to unix format.\n" \ 888 "Convert FILE in-place from DOS to Unix format.\n" \
889 "When no file is given, use stdin/stdout.\n" \
890 "\nOptions:" \
891 "\n -u dos2unix" \
892 "\n -d unix2dos" \
893
894#define unix2dos_trivial_usage \
895 "[OPTION] [FILE]"
896#define unix2dos_full_usage "\n\n" \
897 "Convert FILE in-place from Unix to DOS format.\n" \
891 "When no file is given, use stdin/stdout.\n" \ 898 "When no file is given, use stdin/stdout.\n" \
892 "\nOptions:" \ 899 "\nOptions:" \
893 "\n -u dos2unix" \ 900 "\n -u dos2unix" \
@@ -1035,10 +1042,10 @@
1035#define ed_full_usage "" 1042#define ed_full_usage ""
1036 1043
1037#define env_trivial_usage \ 1044#define env_trivial_usage \
1038 "[-iu] [-] [name=value]... [command]" 1045 "[-iu] [-] [name=value]... [PROG [ARGS]]"
1039#define env_full_usage "\n\n" \ 1046#define env_full_usage "\n\n" \
1040 "Print the current environment or run a program after setting\n" \ 1047 "Print the current environment or run PROG after setting up\n" \
1041 "up the specified environment\n" \ 1048 "the specified environment\n" \
1042 "\nOptions:" \ 1049 "\nOptions:" \
1043 "\n -, -i Start with an empty environment" \ 1050 "\n -, -i Start with an empty environment" \
1044 "\n -u Remove variable from the environment" \ 1051 "\n -u Remove variable from the environment" \
@@ -1125,7 +1132,7 @@
1125 "1\n" 1132 "1\n"
1126 1133
1127#define fbset_trivial_usage \ 1134#define fbset_trivial_usage \
1128 "[options] [mode]" 1135 "[OPTIONS] [MODE]"
1129#define fbset_full_usage "\n\n" \ 1136#define fbset_full_usage "\n\n" \
1130 "Show and modify frame buffer settings" 1137 "Show and modify frame buffer settings"
1131 1138
@@ -1235,7 +1242,7 @@
1235 IF_FEATURE_FIND_CONTEXT ( \ 1242 IF_FEATURE_FIND_CONTEXT ( \
1236 "\n -context File has specified security context") \ 1243 "\n -context File has specified security context") \
1237 IF_FEATURE_FIND_EXEC( \ 1244 IF_FEATURE_FIND_EXEC( \
1238 "\n -exec CMD ARG ; Execute CMD with all instances of {} replaced by the" \ 1245 "\n -exec CMD ARG ; Run CMD with all instances of {} replaced by the" \
1239 "\n matching files") \ 1246 "\n matching files") \
1240 IF_FEATURE_FIND_PRUNE( \ 1247 IF_FEATURE_FIND_PRUNE( \
1241 "\n -prune Stop traversing current subtree") \ 1248 "\n -prune Stop traversing current subtree") \
@@ -1340,7 +1347,7 @@
1340 "\n DIR Change root to this directory" \ 1347 "\n DIR Change root to this directory" \
1341 1348
1342#define ftpget_trivial_usage \ 1349#define ftpget_trivial_usage \
1343 "[options] remote-host local-file remote-file" 1350 "[OPTIONS] HOST LOCAL_FILE REMOTE_FILE"
1344#define ftpget_full_usage "\n\n" \ 1351#define ftpget_full_usage "\n\n" \
1345 "Retrieve a remote file via FTP\n" \ 1352 "Retrieve a remote file via FTP\n" \
1346 "\nOptions:" \ 1353 "\nOptions:" \
@@ -1360,7 +1367,7 @@
1360 ) 1367 )
1361 1368
1362#define ftpput_trivial_usage \ 1369#define ftpput_trivial_usage \
1363 "[options] remote-host remote-file local-file" 1370 "[OPTIONS] HOST REMOTE_FILE LOCAL_FILE"
1364#define ftpput_full_usage "\n\n" \ 1371#define ftpput_full_usage "\n\n" \
1365 "Store a local file on a remote machine via FTP\n" \ 1372 "Store a local file on a remote machine via FTP\n" \
1366 "\nOptions:" \ 1373 "\nOptions:" \
@@ -1378,7 +1385,7 @@
1378 ) 1385 )
1379 1386
1380#define fuser_trivial_usage \ 1387#define fuser_trivial_usage \
1381 "[options] FILE or PORT/PROTO" 1388 "[OPTIONS] FILE or PORT/PROTO"
1382#define fuser_full_usage "\n\n" \ 1389#define fuser_full_usage "\n\n" \
1383 "Find processes which use FILEs or PORTs\n" \ 1390 "Find processes which use FILEs or PORTs\n" \
1384 "\nOptions:" \ 1391 "\nOptions:" \
@@ -1393,9 +1400,9 @@
1393#define getenforce_full_usage "" 1400#define getenforce_full_usage ""
1394 1401
1395#define getopt_trivial_usage \ 1402#define getopt_trivial_usage \
1396 "[OPTIONS]..." 1403 "[OPTIONS]"
1397#define getopt_full_usage "\n\n" \ 1404#define getopt_full_usage "\n\n" \
1398 "Parse command options\n" \ 1405 "Parse options\n" \
1399 IF_LONG_OPTS( \ 1406 IF_LONG_OPTS( \
1400 "\n -a,--alternative Allow long options starting with single -" \ 1407 "\n -a,--alternative Allow long options starting with single -" \
1401 "\n -l,--longoptions=longopts Long options to be recognized" \ 1408 "\n -l,--longoptions=longopts Long options to be recognized" \
@@ -1468,7 +1475,7 @@
1468 IF_FEATURE_GREP_EGREP_ALIAS("E") \ 1475 IF_FEATURE_GREP_EGREP_ALIAS("E") \
1469 IF_FEATURE_GREP_CONTEXT("ABC") \ 1476 IF_FEATURE_GREP_CONTEXT("ABC") \
1470 IF_EXTRA_COMPAT("z") \ 1477 IF_EXTRA_COMPAT("z") \
1471 "] PATTERN [FILEs...]" 1478 "] PATTERN [FILE]..."
1472#define grep_full_usage "\n\n" \ 1479#define grep_full_usage "\n\n" \
1473 "Search for PATTERN in each FILE or standard input\n" \ 1480 "Search for PATTERN in each FILE or standard input\n" \
1474 "\nOptions:" \ 1481 "\nOptions:" \
@@ -1512,7 +1519,7 @@
1512#define fgrep_full_usage "" 1519#define fgrep_full_usage ""
1513 1520
1514#define gunzip_trivial_usage \ 1521#define gunzip_trivial_usage \
1515 "[OPTION]... [FILE]..." 1522 "[OPTIONS] [FILE]..."
1516#define gunzip_full_usage "\n\n" \ 1523#define gunzip_full_usage "\n\n" \
1517 "Uncompress FILEs (or standard input)\n" \ 1524 "Uncompress FILEs (or standard input)\n" \
1518 "\nOptions:" \ 1525 "\nOptions:" \
@@ -1528,7 +1535,7 @@
1528 "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" 1535 "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n"
1529 1536
1530#define gzip_trivial_usage \ 1537#define gzip_trivial_usage \
1531 "[OPTION]... [FILE]..." 1538 "[OPTIONS] [FILE]..."
1532#define gzip_full_usage "\n\n" \ 1539#define gzip_full_usage "\n\n" \
1533 "Compress FILEs (or standard input)\n" \ 1540 "Compress FILEs (or standard input)\n" \
1534 "\nOptions:" \ 1541 "\nOptions:" \
@@ -1556,7 +1563,7 @@
1556 ) 1563 )
1557 1564
1558#define hdparm_trivial_usage \ 1565#define hdparm_trivial_usage \
1559 "[options] [device] .." 1566 "[OPTIONS] [DEVICE]"
1560#define hdparm_full_usage "\n\n" \ 1567#define hdparm_full_usage "\n\n" \
1561 "Options:" \ 1568 "Options:" \
1562 "\n -a Get/set fs readahead" \ 1569 "\n -a Get/set fs readahead" \
@@ -1607,7 +1614,7 @@
1607 "\n -z Re-read partition table" \ 1614 "\n -z Re-read partition table" \
1608 1615
1609#define head_trivial_usage \ 1616#define head_trivial_usage \
1610 "[OPTION]... [FILE]..." 1617 "[OPTIONS] [FILE]..."
1611#define head_full_usage "\n\n" \ 1618#define head_full_usage "\n\n" \
1612 "Print first 10 lines of each FILE to standard output.\n" \ 1619 "Print first 10 lines of each FILE to standard output.\n" \
1613 "With more than one FILE, precede each with a header giving the\n" \ 1620 "With more than one FILE, precede each with a header giving the\n" \
@@ -1654,7 +1661,7 @@
1654 "Print out a unique 32-bit identifier for the machine" 1661 "Print out a unique 32-bit identifier for the machine"
1655 1662
1656#define hostname_trivial_usage \ 1663#define hostname_trivial_usage \
1657 "[OPTION] [hostname | -F FILE]" 1664 "[OPTIONS] [HOSTNAME | -F FILE]"
1658#define hostname_full_usage "\n\n" \ 1665#define hostname_full_usage "\n\n" \
1659 "Get or set hostname or DNS domain name\n" \ 1666 "Get or set hostname or DNS domain name\n" \
1660 "\nOptions:" \ 1667 "\nOptions:" \
@@ -1662,7 +1669,7 @@
1662 "\n -i Addresses for the hostname" \ 1669 "\n -i Addresses for the hostname" \
1663 "\n -d DNS domain name" \ 1670 "\n -d DNS domain name" \
1664 "\n -f Fully qualified domain name" \ 1671 "\n -f Fully qualified domain name" \
1665 "\n -F FILE Use the contents of FILE to specify the hostname" \ 1672 "\n -F FILE Use FILE's content as hostname" \
1666 1673
1667#define hostname_example_usage \ 1674#define hostname_example_usage \
1668 "$ hostname\n" \ 1675 "$ hostname\n" \
@@ -1714,7 +1721,7 @@
1714 "\n -f FILE Use specified device (e.g. /dev/rtc2)" \ 1721 "\n -f FILE Use specified device (e.g. /dev/rtc2)" \
1715 1722
1716#define id_trivial_usage \ 1723#define id_trivial_usage \
1717 "[OPTIONS]... [USER]" 1724 "[OPTIONS] [USER]"
1718#define id_full_usage "\n\n" \ 1725#define id_full_usage "\n\n" \
1719 "Print information about USER or the current user\n" \ 1726 "Print information about USER or the current user\n" \
1720 "\nOptions:" \ 1727 "\nOptions:" \
@@ -1780,7 +1787,7 @@
1780 " # ifenslave -c bond0 eth0\n" \ 1787 " # ifenslave -c bond0 eth0\n" \
1781 1788
1782#define ifplugd_trivial_usage \ 1789#define ifplugd_trivial_usage \
1783 "[options]" 1790 "[OPTIONS]"
1784#define ifplugd_full_usage "\n\n" \ 1791#define ifplugd_full_usage "\n\n" \
1785 "Network interface plug detection daemon.\n\n" \ 1792 "Network interface plug detection daemon.\n\n" \
1786 "Options:\n" \ 1793 "Options:\n" \
@@ -2005,7 +2012,7 @@
2005/* 2.6 style insmod has no options and required filename 2012/* 2.6 style insmod has no options and required filename
2006 * (not module name - .ko can't be omitted) */ 2013 * (not module name - .ko can't be omitted) */
2007#define insmod_trivial_usage \ 2014#define insmod_trivial_usage \
2008 IF_FEATURE_2_4_MODULES("[OPTION]... MODULE ") \ 2015 IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ") \
2009 IF_NOT_FEATURE_2_4_MODULES("FILE ") \ 2016 IF_NOT_FEATURE_2_4_MODULES("FILE ") \
2010 "[symbol=value]..." 2017 "[symbol=value]..."
2011#define insmod_full_usage "\n\n" \ 2018#define insmod_full_usage "\n\n" \
@@ -2083,7 +2090,7 @@
2083 " SCOPE-ID := [host | link | global | NUMBER]" \ 2090 " SCOPE-ID := [host | link | global | NUMBER]" \
2084 2091
2085#define ipcalc_trivial_usage \ 2092#define ipcalc_trivial_usage \
2086 "[OPTION]... ADDRESS[[/]NETMASK] [NETMASK]" 2093 "[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]"
2087#define ipcalc_full_usage "\n\n" \ 2094#define ipcalc_full_usage "\n\n" \
2088 "Calculate IP network settings from a IP address\n" \ 2095 "Calculate IP network settings from a IP address\n" \
2089 "\nOptions:" \ 2096 "\nOptions:" \
@@ -2243,7 +2250,7 @@
2243 "5\n" 2250 "5\n"
2244 2251
2245#define less_trivial_usage \ 2252#define less_trivial_usage \
2246 "[-EMNmh~I?] [FILE...]" 2253 "[-EMNmh~I?] [FILE]..."
2247#define less_full_usage "\n\n" \ 2254#define less_full_usage "\n\n" \
2248 "View a file or list of files. The position within files can be\n" \ 2255 "View a file or list of files. The position within files can be\n" \
2249 "changed, and files can be manipulated in various ways.\n" \ 2256 "changed, and files can be manipulated in various ways.\n" \
@@ -2271,7 +2278,7 @@
2271 " linux64 Set 64bit uname emulation" \ 2278 " linux64 Set 64bit uname emulation" \
2272 2279
2273#define ln_trivial_usage \ 2280#define ln_trivial_usage \
2274 "[OPTION] TARGET... LINK_NAME|DIRECTORY" 2281 "[OPTIONS] TARGET... LINK_NAME|DIRECTORY"
2275#define ln_full_usage "\n\n" \ 2282#define ln_full_usage "\n\n" \
2276 "Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \ 2283 "Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \
2277 "Use '--' to indicate that all following arguments are non-options.\n" \ 2284 "Use '--' to indicate that all following arguments are non-options.\n" \
@@ -2309,7 +2316,7 @@
2309 "$ loadkmap < /etc/i18n/lang-keymap\n" 2316 "$ loadkmap < /etc/i18n/lang-keymap\n"
2310 2317
2311#define logger_trivial_usage \ 2318#define logger_trivial_usage \
2312 "[OPTION]... [MESSAGE]" 2319 "[OPTIONS] [MESSAGE]"
2313#define logger_full_usage "\n\n" \ 2320#define logger_full_usage "\n\n" \
2314 "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n" \ 2321 "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n" \
2315 "\nOptions:" \ 2322 "\nOptions:" \
@@ -2338,7 +2345,7 @@
2338 "root\n" 2345 "root\n"
2339 2346
2340#define logread_trivial_usage \ 2347#define logread_trivial_usage \
2341 "[OPTION]..." 2348 "[OPTIONS]"
2342#define logread_full_usage "\n\n" \ 2349#define logread_full_usage "\n\n" \
2343 "Show messages in syslogd's circular buffer\n" \ 2350 "Show messages in syslogd's circular buffer\n" \
2344 "\nOptions:" \ 2351 "\nOptions:" \
@@ -2363,7 +2370,7 @@
2363 "losetup -f will show the first loop free loop device\n\n" 2370 "losetup -f will show the first loop free loop device\n\n"
2364 2371
2365#define lpd_trivial_usage \ 2372#define lpd_trivial_usage \
2366 "SPOOLDIR [HELPER [ARGS...]]" 2373 "SPOOLDIR [HELPER [ARGS]]"
2367#define lpd_full_usage "\n\n" \ 2374#define lpd_full_usage "\n\n" \
2368 "SPOOLDIR must contain (symlinks to) device nodes or directories" \ 2375 "SPOOLDIR must contain (symlinks to) device nodes or directories" \
2369 "\nwith names matching print queue names. In the first case, jobs are" \ 2376 "\nwith names matching print queue names. In the first case, jobs are" \
@@ -2383,7 +2390,7 @@
2383 "\n -s Short display" \ 2390 "\n -s Short display" \
2384 2391
2385#define lpr_trivial_usage \ 2392#define lpr_trivial_usage \
2386 "-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE...]" 2393 "-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]..."
2387/* -C CLASS exists too, not shown. 2394/* -C CLASS exists too, not shown.
2388 * CLASS is supposed to be printed on banner page, if one is requested */ 2395 * CLASS is supposed to be printed on banner page, if one is requested */
2389#define lpr_full_usage "\n\n" \ 2396#define lpr_full_usage "\n\n" \
@@ -2401,7 +2408,7 @@
2401 IF_FEATURE_AUTOWIDTH("T") IF_FEATURE_LS_TIMESTAMPS("tu") \ 2408 IF_FEATURE_AUTOWIDTH("T") IF_FEATURE_LS_TIMESTAMPS("tu") \
2402 IF_FEATURE_LS_SORTFILES("v") IF_FEATURE_AUTOWIDTH("w") "x" \ 2409 IF_FEATURE_LS_SORTFILES("v") IF_FEATURE_AUTOWIDTH("w") "x" \
2403 IF_FEATURE_LS_SORTFILES("X") IF_FEATURE_HUMAN_READABLE("h") "k" \ 2410 IF_FEATURE_LS_SORTFILES("X") IF_FEATURE_HUMAN_READABLE("h") "k" \
2404 IF_SELINUX("K") "] [filenames...]" 2411 IF_SELINUX("K") "] [FILE]..."
2405#define ls_full_usage "\n\n" \ 2412#define ls_full_usage "\n\n" \
2406 "List directory contents\n" \ 2413 "List directory contents\n" \
2407 "\nOptions:" \ 2414 "\nOptions:" \
@@ -2455,7 +2462,7 @@
2455 "\n -Z List security context and permission") \ 2462 "\n -Z List security context and permission") \
2456 2463
2457#define lsattr_trivial_usage \ 2464#define lsattr_trivial_usage \
2458 "[-Radlv] [files...]" 2465 "[-Radlv] [FILE]..."
2459#define lsattr_full_usage "\n\n" \ 2466#define lsattr_full_usage "\n\n" \
2460 "List file attributes on an ext2 fs\n" \ 2467 "List file attributes on an ext2 fs\n" \
2461 "\nOptions:" \ 2468 "\nOptions:" \
@@ -2529,7 +2536,7 @@
2529#endif 2536#endif
2530 2537
2531#define makemime_trivial_usage \ 2538#define makemime_trivial_usage \
2532 "[OPTION]... [FILE]..." 2539 "[OPTIONS] [FILE]..."
2533#define makemime_full_usage "\n\n" \ 2540#define makemime_full_usage "\n\n" \
2534 "Create MIME-encoded message\n" \ 2541 "Create MIME-encoded message\n" \
2535 "\nOptions:" \ 2542 "\nOptions:" \
@@ -2539,7 +2546,7 @@
2539 "\nOther options are silently ignored." \ 2546 "\nOther options are silently ignored." \
2540 2547
2541#define man_trivial_usage \ 2548#define man_trivial_usage \
2542 "[OPTION]... [MANPAGE]..." 2549 "[OPTIONS] [MANPAGE]..."
2543#define man_full_usage "\n\n" \ 2550#define man_full_usage "\n\n" \
2544 "Format and display manual page\n" \ 2551 "Format and display manual page\n" \
2545 "\nOptions:" \ 2552 "\nOptions:" \
@@ -2556,8 +2563,8 @@
2556 "\n -V Verify file context on disk matches defaults" \ 2563 "\n -V Verify file context on disk matches defaults" \
2557 2564
2558#define md5sum_trivial_usage \ 2565#define md5sum_trivial_usage \
2559 "[OPTION] [FILEs...]" \ 2566 "[OPTIONS] [FILE]..." \
2560 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTION] -c [FILE]") 2567 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTIONS] -c [FILE]")
2561#define md5sum_full_usage "\n\n" \ 2568#define md5sum_full_usage "\n\n" \
2562 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ 2569 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \
2563 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ 2570 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \
@@ -2578,8 +2585,8 @@
2578 "^D\n" 2585 "^D\n"
2579 2586
2580#define sha1sum_trivial_usage \ 2587#define sha1sum_trivial_usage \
2581 "[OPTION] [FILEs...]" \ 2588 "[OPTIONS] [FILE]..." \
2582 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTION] -c [FILE]") 2589 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTIONS] -c [FILE]")
2583#define sha1sum_full_usage "\n\n" \ 2590#define sha1sum_full_usage "\n\n" \
2584 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \ 2591 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \
2585 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ 2592 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \
@@ -2590,8 +2597,8 @@
2590 ) 2597 )
2591 2598
2592#define sha256sum_trivial_usage \ 2599#define sha256sum_trivial_usage \
2593 "[OPTION] [FILEs...]" \ 2600 "[OPTIONS] [FILE]..." \
2594 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha256sum [OPTION] -c [FILE]") 2601 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha256sum [OPTIONS] -c [FILE]")
2595#define sha256sum_full_usage "\n\n" \ 2602#define sha256sum_full_usage "\n\n" \
2596 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \ 2603 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \
2597 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ 2604 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \
@@ -2602,8 +2609,8 @@
2602 ) 2609 )
2603 2610
2604#define sha512sum_trivial_usage \ 2611#define sha512sum_trivial_usage \
2605 "[OPTION] [FILEs...]" \ 2612 "[OPTIONS] [FILE]..." \
2606 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha512sum [OPTION] -c [FILE]") 2613 IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha512sum [OPTIONS] -c [FILE]")
2607#define sha512sum_full_usage "\n\n" \ 2614#define sha512sum_full_usage "\n\n" \
2608 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \ 2615 "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \
2609 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ 2616 IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \
@@ -2624,7 +2631,7 @@
2624 "It uses /etc/mdev.conf with lines\n" \ 2631 "It uses /etc/mdev.conf with lines\n" \
2625 "[-]DEVNAME UID:GID PERM" \ 2632 "[-]DEVNAME UID:GID PERM" \
2626 IF_FEATURE_MDEV_RENAME(" [>|=PATH]") \ 2633 IF_FEATURE_MDEV_RENAME(" [>|=PATH]") \
2627 IF_FEATURE_MDEV_EXEC(" [@|$|*COMMAND]") \ 2634 IF_FEATURE_MDEV_EXEC(" [@|$|*PROG]") \
2628 ) \ 2635 ) \
2629 2636
2630#define mdev_notes_usage "" \ 2637#define mdev_notes_usage "" \
@@ -2666,7 +2673,7 @@
2666 "\n -X Disable special meaning of NUL and Ctrl-X from stdin" \ 2673 "\n -X Disable special meaning of NUL and Ctrl-X from stdin" \
2667 2674
2668#define mkdir_trivial_usage \ 2675#define mkdir_trivial_usage \
2669 "[OPTION] DIRECTORY..." 2676 "[OPTIONS] DIRECTORY..."
2670#define mkdir_full_usage "\n\n" \ 2677#define mkdir_full_usage "\n\n" \
2671 "Create DIRECTORY\n" \ 2678 "Create DIRECTORY\n" \
2672 "\nOptions:" \ 2679 "\nOptions:" \
@@ -2880,7 +2887,7 @@
2880 " from the command line\n" 2887 " from the command line\n"
2881 2888
2882#define more_trivial_usage \ 2889#define more_trivial_usage \
2883 "[FILE...]" 2890 "[FILE]..."
2884#define more_full_usage "\n\n" \ 2891#define more_full_usage "\n\n" \
2885 "View FILE or standard input one screenful at a time" 2892 "View FILE or standard input one screenful at a time"
2886 2893
@@ -2976,8 +2983,8 @@
2976 "setpart tell unload unlock weof wset" \ 2983 "setpart tell unload unlock weof wset" \
2977 2984
2978#define mv_trivial_usage \ 2985#define mv_trivial_usage \
2979 "[OPTION]... SOURCE DEST\n" \ 2986 "[OPTIONS] SOURCE DEST\n" \
2980 "or: mv [OPTION]... SOURCE... DIRECTORY" 2987 "or: mv [OPTIONS] SOURCE... DIRECTORY"
2981#define mv_full_usage "\n\n" \ 2988#define mv_full_usage "\n\n" \
2982 "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \ 2989 "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \
2983 "\nOptions:" \ 2990 "\nOptions:" \
@@ -3011,21 +3018,21 @@
3011 3018
3012#define nc_trivial_usage \ 3019#define nc_trivial_usage \
3013 IF_NC_EXTRA("[-iN] [-wN] ")IF_NC_SERVER("[-l] [-p PORT] ") \ 3020 IF_NC_EXTRA("[-iN] [-wN] ")IF_NC_SERVER("[-l] [-p PORT] ") \
3014 "["IF_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"IF_NC_EXTRA(" [-e COMMAND]") 3021 "["IF_NC_EXTRA("-f FILENAME|")"IPADDR PORT]"IF_NC_EXTRA(" [-e PROG]")
3015#define nc_full_usage "\n\n" \ 3022#define nc_full_usage "\n\n" \
3016 "Open a pipe to IP:port" IF_NC_EXTRA(" or file") \ 3023 "Open a pipe to IP:port" IF_NC_EXTRA(" or file") \
3017 NC_OPTIONS_STR \ 3024 NC_OPTIONS_STR \
3018 IF_NC_EXTRA( \ 3025 IF_NC_EXTRA( \
3019 "\n -e Exec rest of command line after connect" \ 3026 "\n -e PROG Run PROG after connect" \
3020 "\n -i SECS Delay interval for lines sent" \ 3027 "\n -i SEC Delay interval for lines sent" \
3021 "\n -w SECS Timeout for connect" \ 3028 "\n -w SEC Timeout for connect" \
3022 "\n -f FILE Use file (ala /dev/ttyS0) instead of network" \ 3029 "\n -f FILE Use file (ala /dev/ttyS0) instead of network" \
3023 ) \ 3030 ) \
3024 IF_NC_SERVER( \ 3031 IF_NC_SERVER( \
3025 "\n -l Listen mode, for inbound connects" \ 3032 "\n -l Listen mode, for inbound connects" \
3026 IF_NC_EXTRA( \ 3033 IF_NC_EXTRA( \
3027 "\n (use -l twice with -e for persistent server)") \ 3034 "\n (use -l twice with -e for persistent server)") \
3028 "\n -p PORT Local port number" \ 3035 "\n -p PORT Local port" \
3029 ) 3036 )
3030 3037
3031#define nc_notes_usage "" \ 3038#define nc_notes_usage "" \
@@ -3048,24 +3055,24 @@
3048#else /* DESKTOP nc - much more compatible with nc 1.10 */ 3055#else /* DESKTOP nc - much more compatible with nc 1.10 */
3049 3056
3050#define nc_trivial_usage \ 3057#define nc_trivial_usage \
3051 "[-options] hostname port - connect" \ 3058 "[OPTIONS] HOST PORT - connect" \
3052 IF_NC_SERVER("\n" \ 3059 IF_NC_SERVER("\n" \
3053 "nc [-options] -l -p port [hostname] [port] - listen") 3060 "nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen")
3054#define nc_full_usage "\n\n" \ 3061#define nc_full_usage "\n\n" \
3055 "Options:" \ 3062 "Options:" \
3056 "\n -e prog [args] Program to exec after connect (must be last)" \ 3063 "\n -e PROG Run PROG after connect (must be last)" \
3057 IF_NC_SERVER( \ 3064 IF_NC_SERVER( \
3058 "\n -l Listen mode, for inbound connects" \ 3065 "\n -l Listen mode, for inbound connects" \
3059 ) \ 3066 ) \
3060 "\n -n Don't do DNS resolution" \ 3067 "\n -n Don't do DNS resolution" \
3061 "\n -s addr Local address" \ 3068 "\n -s ADDR Local address" \
3062 "\n -p port Local port" \ 3069 "\n -p PORT Local port" \
3063 "\n -u UDP mode" \ 3070 "\n -u UDP mode" \
3064 "\n -v Verbose (cumulative: -vv)" \ 3071 "\n -v Verbose" \
3065 "\n -w secs Timeout for connects and final net reads" \ 3072 "\n -w SEC Timeout for connects and final net reads" \
3066 IF_NC_EXTRA( \ 3073 IF_NC_EXTRA( \
3067 "\n -i sec Delay interval for lines sent" /* ", ports scanned" */ \ 3074 "\n -i SEC Delay interval for lines sent" /* ", ports scanned" */ \
3068 "\n -o file Hex dump of traffic" \ 3075 "\n -o FILE Hex dump traffic" \
3069 "\n -z Zero-I/O mode (scanning)" \ 3076 "\n -z Zero-I/O mode (scanning)" \
3070 ) \ 3077 ) \
3071/* "\n -r Randomize local and remote ports" */ 3078/* "\n -r Randomize local and remote ports" */
@@ -3073,6 +3080,10 @@
3073/* "\n -G num Source-routing pointer: 4, 8, 12, ..." */ 3080/* "\n -G num Source-routing pointer: 4, 8, 12, ..." */
3074/* "\nport numbers can be individual or ranges: lo-hi [inclusive]" */ 3081/* "\nport numbers can be individual or ranges: lo-hi [inclusive]" */
3075 3082
3083/* -e PROG can take ARGS too: "nc ... -e ls -l", but we don't document it
3084 * in help text: nc 1.10 does not allow that. We don't want to entice
3085 * users to use this incompatibility */
3086
3076#endif 3087#endif
3077 3088
3078#define netstat_trivial_usage \ 3089#define netstat_trivial_usage \
@@ -3097,11 +3108,11 @@
3097 ) 3108 )
3098 3109
3099#define nice_trivial_usage \ 3110#define nice_trivial_usage \
3100 "[-n ADJUST] [COMMAND [ARG]...]" 3111 "[-n ADJUST] [PROG [ARGS]]"
3101#define nice_full_usage "\n\n" \ 3112#define nice_full_usage "\n\n" \
3102 "Run a program with modified scheduling priority\n" \ 3113 "Run PROG with modified scheduling priority\n" \
3103 "\nOptions:" \ 3114 "\nOptions:" \
3104 "\n -n ADJUST Adjust the scheduling priority by ADJUST" \ 3115 "\n -n ADJUST Adjust priority by ADJUST" \
3105 3116
3106#define nmeter_trivial_usage \ 3117#define nmeter_trivial_usage \
3107 "format_string" 3118 "format_string"
@@ -3122,16 +3133,16 @@
3122 "%[pn] Monitor # of processes\n" \ 3133 "%[pn] Monitor # of processes\n" \
3123 "%b Monitor block io\n" \ 3134 "%b Monitor block io\n" \
3124 "%Nt Show time (with N decimal points)\n" \ 3135 "%Nt Show time (with N decimal points)\n" \
3125 "%Nd Milliseconds between updates (default=1000)\n" \ 3136 "%Nd Milliseconds between updates (default:1000)\n" \
3126 "%r Print <cr> instead of <lf> at EOL" \ 3137 "%r Print <cr> instead of <lf> at EOL" \
3127 3138
3128#define nmeter_example_usage \ 3139#define nmeter_example_usage \
3129 "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" 3140 "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'"
3130 3141
3131#define nohup_trivial_usage \ 3142#define nohup_trivial_usage \
3132 "COMMAND [ARGS]" 3143 "PROG [ARGS]"
3133#define nohup_full_usage "\n\n" \ 3144#define nohup_full_usage "\n\n" \
3134 "Run a command immune to hangups, with output to a non-tty" 3145 "Run PROG immune to hangups, with output to a non-tty"
3135#define nohup_example_usage \ 3146#define nohup_example_usage \
3136 "$ nohup make &" 3147 "$ nohup make &"
3137 3148
@@ -3155,14 +3166,14 @@
3155 "to standard output. With no FILE or when FILE is -, read standard input." 3166 "to standard output. With no FILE or when FILE is -, read standard input."
3156 3167
3157#define openvt_trivial_usage \ 3168#define openvt_trivial_usage \
3158 "[-c NUM] [-sw] [COMMAND [ARGS]]" 3169 "[-c N] [-sw] [PROG [ARGS]]"
3159#define openvt_full_usage "\n\n" \ 3170#define openvt_full_usage "\n\n" \
3160 "Start COMMAND on a new virtual terminal\n" \ 3171 "Start PROG on a new virtual terminal\n" \
3161 "\nOptions:" \ 3172 "\nOptions:" \
3162 "\n -c Use specified VT" \ 3173 "\n -c N Use specified VT" \
3163 "\n -s Switch to the VT" \ 3174 "\n -s Switch to the VT" \
3164/* "\n -l Run COMMAND as login shell (by prepending '-')" */ \ 3175/* "\n -l Run PROG as login shell (by prepending '-')" */ \
3165 "\n -w Wait for COMMAND to exit" \ 3176 "\n -w Wait for PROG to exit" \
3166 3177
3167#define openvt_example_usage \ 3178#define openvt_example_usage \
3168 "openvt 2 /bin/ash\n" 3179 "openvt 2 /bin/ash\n"
@@ -3173,9 +3184,9 @@
3173 "[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..." 3184 "[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..."
3174 3185
3175#define passwd_trivial_usage \ 3186#define passwd_trivial_usage \
3176 "[OPTION] [name]" 3187 "[OPTIONS] [USER]"
3177#define passwd_full_usage "\n\n" \ 3188#define passwd_full_usage "\n\n" \
3178 "Change user's password. If no name is specified,\n" \ 3189 "Change USER's password. If no USER is specified,\n" \
3179 "changes the password for the current user.\n" \ 3190 "changes the password for the current user.\n" \
3180 "\nOptions:" \ 3191 "\nOptions:" \
3181 "\n -a Algorithm to use for password (choices: des, md5)" /* ", sha1)" */ \ 3192 "\n -a Algorithm to use for password (choices: des, md5)" /* ", sha1)" */ \
@@ -3210,9 +3221,9 @@
3210 "$ patch -p0 -i example.diff" 3221 "$ patch -p0 -i example.diff"
3211 3222
3212#define pgrep_trivial_usage \ 3223#define pgrep_trivial_usage \
3213 "[-flnovx] pattern" 3224 "[-flnovx] PATTERN"
3214#define pgrep_full_usage "\n\n" \ 3225#define pgrep_full_usage "\n\n" \
3215 "Display process(es) selected by regex pattern\n" \ 3226 "Display process(es) selected by regex PATTERN\n" \
3216 "\nOptions:" \ 3227 "\nOptions:" \
3217 "\n -l Show command name too" \ 3228 "\n -l Show command name too" \
3218 "\n -f Match against entire command line" \ 3229 "\n -f Match against entire command line" \
@@ -3223,7 +3234,7 @@
3223 3234
3224#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) 3235#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT)
3225#define pidof_trivial_usage \ 3236#define pidof_trivial_usage \
3226 "[OPTION] [NAME...]" 3237 "[OPTIONS] [NAME...]"
3227#define USAGE_PIDOF "\n\nOptions:" 3238#define USAGE_PIDOF "\n\nOptions:"
3228#else 3239#else
3229#define pidof_trivial_usage \ 3240#define pidof_trivial_usage \
@@ -3258,29 +3269,29 @@
3258 "Send ICMP ECHO_REQUEST packets to network hosts" 3269 "Send ICMP ECHO_REQUEST packets to network hosts"
3259#else 3270#else
3260#define ping_trivial_usage \ 3271#define ping_trivial_usage \
3261 "[OPTION]... host" 3272 "[OPTIONS] HOST"
3262#define ping_full_usage "\n\n" \ 3273#define ping_full_usage "\n\n" \
3263 "Send ICMP ECHO_REQUEST packets to network hosts\n" \ 3274 "Send ICMP ECHO_REQUEST packets to network hosts\n" \
3264 "\nOptions:" \ 3275 "\nOptions:" \
3265 "\n -4, -6 Force IPv4 or IPv6 hostname resolution" \ 3276 "\n -4, -6 Force IPv4 or IPv6 hostname resolution" \
3266 "\n -c CNT Send only CNT pings" \ 3277 "\n -c CNT Send only CNT pings" \
3267 "\n -s SIZE Send SIZE data bytes in packets (default=56)" \ 3278 "\n -s SIZE Send SIZE data bytes in packets (default:56)" \
3268 "\n -I iface/IP Use interface or IP address as source" \ 3279 "\n -I IFACE/IP Use interface or IP address as source" \
3269 "\n -W timeout Seconds to wait for the first response (default:10)" \ 3280 "\n -W SEC Seconds to wait for the first response (default:10)" \
3270 "\n (after all -c CNT packets are sent)" \ 3281 "\n (after all -c CNT packets are sent)" \
3271 "\n -w deadline Seconds until ping exits (default:infinite)" \ 3282 "\n -w SEC Seconds until ping exits (default:infinite)" \
3272 "\n (can exit earlier with -c CNT)" \ 3283 "\n (can exit earlier with -c CNT)" \
3273 "\n -q Quiet, only displays output at start" \ 3284 "\n -q Quiet, only displays output at start" \
3274 "\n and when finished" \ 3285 "\n and when finished" \
3275 3286
3276#define ping6_trivial_usage \ 3287#define ping6_trivial_usage \
3277 "[OPTION]... host" 3288 "[OPTIONS] HOST"
3278#define ping6_full_usage "\n\n" \ 3289#define ping6_full_usage "\n\n" \
3279 "Send ICMP ECHO_REQUEST packets to network hosts\n" \ 3290 "Send ICMP ECHO_REQUEST packets to network hosts\n" \
3280 "\nOptions:" \ 3291 "\nOptions:" \
3281 "\n -c CNT Send only CNT pings" \ 3292 "\n -c CNT Send only CNT pings" \
3282 "\n -s SIZE Send SIZE data bytes in packets (default=56)" \ 3293 "\n -s SIZE Send SIZE data bytes in packets (default:56)" \
3283 "\n -I iface/IP Use interface or IP address as source" \ 3294 "\n -I IFACE/IP Use interface or IP address as source" \
3284 "\n -q Quiet, only displays output at start" \ 3295 "\n -q Quiet, only displays output at start" \
3285 "\n and when finished" \ 3296 "\n and when finished" \
3286 3297
@@ -3312,9 +3323,9 @@
3312 "the new root file system" 3323 "the new root file system"
3313 3324
3314#define pkill_trivial_usage \ 3325#define pkill_trivial_usage \
3315 "[-l] | [-fnovx] [-signal] pattern" 3326 "[-l] | [-fnovx] [-signal] PATTERN"
3316#define pkill_full_usage "\n\n" \ 3327#define pkill_full_usage "\n\n" \
3317 "Send a signal to process(es) selected by regex pattern\n" \ 3328 "Send a signal to process(es) selected by regex PATTERN\n" \
3318 "\nOptions:" \ 3329 "\nOptions:" \
3319 "\n -l List all signals" \ 3330 "\n -l List all signals" \
3320 "\n -f Match against entire command line" \ 3331 "\n -f Match against entire command line" \
@@ -3480,7 +3491,7 @@
3480 ) \ 3491 ) \
3481 3492
3482#define readprofile_trivial_usage \ 3493#define readprofile_trivial_usage \
3483 "[OPTIONS]..." 3494 "[OPTIONS]"
3484#define readprofile_full_usage "\n\n" \ 3495#define readprofile_full_usage "\n\n" \
3485 "Options:" \ 3496 "Options:" \
3486 "\n -m mapfile (Default: /boot/System.map)" \ 3497 "\n -m mapfile (Default: /boot/System.map)" \
@@ -3509,7 +3520,7 @@
3509 "\n -f Force reboot (don't go through init)" \ 3520 "\n -f Force reboot (don't go through init)" \
3510 3521
3511#define reformime_trivial_usage \ 3522#define reformime_trivial_usage \
3512 "[OPTION]... [FILE]..." 3523 "[OPTIONS] [FILE]..."
3513#define reformime_full_usage "\n\n" \ 3524#define reformime_full_usage "\n\n" \
3514 "Parse MIME-encoded message\n" \ 3525 "Parse MIME-encoded message\n" \
3515 "\nOptions:" \ 3526 "\nOptions:" \
@@ -3561,7 +3572,7 @@
3561 "\n if it has changed" \ 3572 "\n if it has changed" \
3562 3573
3563#define rm_trivial_usage \ 3574#define rm_trivial_usage \
3564 "[OPTION]... FILE..." 3575 "[OPTIONS] FILE..."
3565#define rm_full_usage "\n\n" \ 3576#define rm_full_usage "\n\n" \
3566 "Remove (unlink) the FILE(s). Use '--' to\n" \ 3577 "Remove (unlink) the FILE(s). Use '--' to\n" \
3567 "indicate that all following arguments are non-options.\n" \ 3578 "indicate that all following arguments are non-options.\n" \
@@ -3574,7 +3585,7 @@
3574 "$ rm -rf /tmp/foo\n" 3585 "$ rm -rf /tmp/foo\n"
3575 3586
3576#define rmdir_trivial_usage \ 3587#define rmdir_trivial_usage \
3577 "[OPTION]... DIRECTORY..." 3588 "[OPTIONS] DIRECTORY..."
3578#define rmdir_full_usage "\n\n" \ 3589#define rmdir_full_usage "\n\n" \
3579 "Remove the DIRECTORY, if it is empty.\n" \ 3590 "Remove the DIRECTORY, if it is empty.\n" \
3580 "\nOptions:" \ 3591 "\nOptions:" \
@@ -3590,7 +3601,7 @@
3590 "# rmdir /tmp/foo\n" 3601 "# rmdir /tmp/foo\n"
3591 3602
3592#define rmmod_trivial_usage \ 3603#define rmmod_trivial_usage \
3593 "[OPTION]... [MODULE]..." 3604 "[OPTIONS] [MODULE]..."
3594#define rmmod_full_usage "\n\n" \ 3605#define rmmod_full_usage "\n\n" \
3595 "Unload the specified kernel modules from the kernel\n" \ 3606 "Unload the specified kernel modules from the kernel\n" \
3596 "\nOptions:" \ 3607 "\nOptions:" \
@@ -3652,10 +3663,10 @@
3652 ) 3663 )
3653 3664
3654#define runcon_trivial_usage \ 3665#define runcon_trivial_usage \
3655 "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ 3666 "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG [ARGS]\n" \
3656 " runcon CONTEXT COMMAND [args]" 3667 " runcon CONTEXT PROG [ARGS]"
3657#define runcon_full_usage "\n\n" \ 3668#define runcon_full_usage "\n\n" \
3658 "Run a program in a different security context\n" \ 3669 "Run PROG in a different security context\n" \
3659 "\n CONTEXT Complete security context\n" \ 3670 "\n CONTEXT Complete security context\n" \
3660 IF_FEATURE_RUNCON_LONG_OPTIONS( \ 3671 IF_FEATURE_RUNCON_LONG_OPTIONS( \
3661 "\n -c,--compute Compute process transition context before modifying" \ 3672 "\n -c,--compute Compute process transition context before modifying" \
@@ -3728,11 +3739,11 @@
3728 "$ rx /tmp/foo\n" 3739 "$ rx /tmp/foo\n"
3729 3740
3730#define script_trivial_usage \ 3741#define script_trivial_usage \
3731 "[-afq" IF_SCRIPTREPLAY("t") "] [-c COMMAND] [OUTFILE]" 3742 "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]"
3732#define script_full_usage "\n\n" \ 3743#define script_full_usage "\n\n" \
3733 "Options:" \ 3744 "Options:" \
3734 "\n -a Append output" \ 3745 "\n -a Append output" \
3735 "\n -c Run COMMAND, not shell" \ 3746 "\n -c Run PROG, not shell" \
3736 "\n -f Flush output after each write" \ 3747 "\n -f Flush output after each write" \
3737 "\n -q Quiet" \ 3748 "\n -q Quiet" \
3738 IF_SCRIPTREPLAY( \ 3749 IF_SCRIPTREPLAY( \
@@ -3740,18 +3751,17 @@
3740 ) 3751 )
3741 3752
3742#define sed_trivial_usage \ 3753#define sed_trivial_usage \
3743 "[-efinr] pattern [files...]" 3754 "[-efinr] SED_CMD [FILE]..."
3744#define sed_full_usage "\n\n" \ 3755#define sed_full_usage "\n\n" \
3745 "Options:" \ 3756 "Options:" \
3746 "\n -e script Add the script to the commands to be executed" \ 3757 "\n -e CMD Add CMD to sed commands to be executed" \
3747 "\n -f scriptfile Add scriptfile contents to the" \ 3758 "\n -f FILE Add FILE contents to sed commands to be executed" \
3748 "\n commands to be executed" \ 3759 "\n -i Edit files in-place" \
3749 "\n -i Edit files in-place" \ 3760 "\n -n Suppress automatic printing of pattern space" \
3750 "\n -n Suppress automatic printing of pattern space" \ 3761 "\n -r Use extended regex syntax" \
3751 "\n -r Use extended regular expression syntax" \
3752 "\n" \ 3762 "\n" \
3753 "\nIf no -e or -f is given, the first non-option argument is taken as the sed" \ 3763 "\nIf no -e or -f is given, the first non-option argument is taken as the sed" \
3754 "\nscript to interpret. All remaining arguments are names of input files; if no" \ 3764 "\ncommand to interpret. All remaining arguments are names of input files; if no" \
3755 "\ninput files are specified, then the standard input is read. Source files" \ 3765 "\ninput files are specified, then the standard input is read. Source files" \
3756 "\nwill not be modified unless -i option is given." \ 3766 "\nwill not be modified unless -i option is given." \
3757 3767
@@ -3905,15 +3915,15 @@
3905 "\n -s Display raw scan-codes" \ 3915 "\n -s Display raw scan-codes" \
3906 3916
3907#define slattach_trivial_usage \ 3917#define slattach_trivial_usage \
3908 "[-cehmLF] [-s speed] [-p protocol] DEVICEs" 3918 "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE"
3909#define slattach_full_usage "\n\n" \ 3919#define slattach_full_usage "\n\n" \
3910 "Attach network interface(s) to serial line(s)\n" \ 3920 "Attach network interface(s) to serial line(s)\n" \
3911 "\nOptions:" \ 3921 "\nOptions:" \
3912 "\n -p Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \ 3922 "\n -p PROT Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \
3913 "\n -s Set line speed" \ 3923 "\n -s SPD Set line speed" \
3914 "\n -e Exit after initializing device" \ 3924 "\n -e Exit after initializing device" \
3915 "\n -h Exit when the carrier is lost" \ 3925 "\n -h Exit when the carrier is lost" \
3916 "\n -c Execute a command when the line is hung up" \ 3926 "\n -c PROG Run PROG when the line is hung up" \
3917 "\n -m Do NOT initialize the line in raw 8 bits mode" \ 3927 "\n -m Do NOT initialize the line in raw 8 bits mode" \
3918 "\n -L Enable 3-wire operation" \ 3928 "\n -L Enable 3-wire operation" \
3919 "\n -F Disable RTS/CTS flow control" \ 3929 "\n -F Disable RTS/CTS flow control" \
@@ -3981,7 +3991,7 @@
3981 "" 3991 ""
3982 3992
3983#define split_trivial_usage \ 3993#define split_trivial_usage \
3984 "[OPTION] [INPUT [PREFIX]]" 3994 "[OPTIONS] [INPUT [PREFIX]]"
3985#define split_full_usage "\n\n" \ 3995#define split_full_usage "\n\n" \
3986 "Options:" \ 3996 "Options:" \
3987 "\n -b n[k|m] Split by bytes" \ 3997 "\n -b n[k|m] Split by bytes" \
@@ -4056,7 +4066,7 @@
4056 ) \ 4066 ) \
4057 4067
4058#define stat_trivial_usage \ 4068#define stat_trivial_usage \
4059 "[OPTION] FILE..." 4069 "[OPTIONS] FILE..."
4060#define stat_full_usage "\n\n" \ 4070#define stat_full_usage "\n\n" \
4061 "Display file (default) or filesystem status\n" \ 4071 "Display file (default) or filesystem status\n" \
4062 "\nOptions:" \ 4072 "\nOptions:" \
@@ -4116,13 +4126,13 @@
4116 ) \ 4126 ) \
4117 4127
4118#define strings_trivial_usage \ 4128#define strings_trivial_usage \
4119 "[-afo] [-n length] [file...]" 4129 "[-afo] [-n LEN] [FILE]..."
4120#define strings_full_usage "\n\n" \ 4130#define strings_full_usage "\n\n" \
4121 "Display printable strings in a binary file\n" \ 4131 "Display printable strings in a binary file\n" \
4122 "\nOptions:" \ 4132 "\nOptions:" \
4123 "\n -a Scan whole file (default)" \ 4133 "\n -a Scan whole file (default)" \
4124 "\n -f Precede strings with filenames" \ 4134 "\n -f Precede strings with filenames" \
4125 "\n -n N At least N characters form a string (default 4)" \ 4135 "\n -n LEN At least LEN characters form a string (default 4)" \
4126 "\n -o Precede strings with decimal offsets" \ 4136 "\n -o Precede strings with decimal offsets" \
4127 4137
4128#define stty_trivial_usage \ 4138#define stty_trivial_usage \
@@ -4137,23 +4147,23 @@
4137 "\n [SETTING] See manpage" \ 4147 "\n [SETTING] See manpage" \
4138 4148
4139#define su_trivial_usage \ 4149#define su_trivial_usage \
4140 "[OPTION]... [-] [username]" 4150 "[OPTIONS] [-] [username]"
4141#define su_full_usage "\n\n" \ 4151#define su_full_usage "\n\n" \
4142 "Change user id or become root\n" \ 4152 "Change user id or become root\n" \
4143 "\nOptions:" \ 4153 "\nOptions:" \
4144 "\n -p, -m Preserve environment" \ 4154 "\n -p, -m Preserve environment" \
4145 "\n -c Command to pass to 'sh -c'" \ 4155 "\n -c CMD Command to pass to 'sh -c'" \
4146 "\n -s Shell to use instead of default shell" \ 4156 "\n -s SH Shell to use instead of default shell" \
4147 4157
4148#define sulogin_trivial_usage \ 4158#define sulogin_trivial_usage \
4149 "[OPTION]... [tty-device]" 4159 "[OPTIONS] [TTY]"
4150#define sulogin_full_usage "\n\n" \ 4160#define sulogin_full_usage "\n\n" \
4151 "Single user login\n" \ 4161 "Single user login\n" \
4152 "\nOptions:" \ 4162 "\nOptions:" \
4153 "\n -t Timeout" \ 4163 "\n -t N Timeout" \
4154 4164
4155#define sum_trivial_usage \ 4165#define sum_trivial_usage \
4156 "[rs] [files...]" 4166 "[-rs] [FILE]..."
4157#define sum_full_usage "\n\n" \ 4167#define sum_full_usage "\n\n" \
4158 "Checksum and count the blocks in a file\n" \ 4168 "Checksum and count the blocks in a file\n" \
4159 "\nOptions:" \ 4169 "\nOptions:" \
@@ -4201,7 +4211,7 @@
4201 ) \ 4211 ) \
4202 4212
4203#define switch_root_trivial_usage \ 4213#define switch_root_trivial_usage \
4204 "[-c /dev/console] NEW_ROOT NEW_INIT [ARG...]" 4214 "[-c /dev/console] NEW_ROOT NEW_INIT [ARGS]"
4205#define switch_root_full_usage "\n\n" \ 4215#define switch_root_full_usage "\n\n" \
4206 "Free initramfs and switch to another root fs:\n" \ 4216 "Free initramfs and switch to another root fs:\n" \
4207 "chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,\n" \ 4217 "chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,\n" \
@@ -4215,14 +4225,14 @@
4215 "Write all buffered blocks to disk" 4225 "Write all buffered blocks to disk"
4216 4226
4217#define fsync_trivial_usage \ 4227#define fsync_trivial_usage \
4218 "[OPTION]... FILE..." 4228 "[OPTIONS] FILE..."
4219#define fsync_full_usage \ 4229#define fsync_full_usage \
4220 "Write files' buffered blocks to disk\n" \ 4230 "Write files' buffered blocks to disk\n" \
4221 "\nOptions:" \ 4231 "\nOptions:" \
4222 "\n -d Avoid syncing metadata" 4232 "\n -d Avoid syncing metadata"
4223 4233
4224#define sysctl_trivial_usage \ 4234#define sysctl_trivial_usage \
4225 "[OPTIONS]... [VALUE]..." 4235 "[OPTIONS] [VALUE]..."
4226#define sysctl_full_usage "\n\n" \ 4236#define sysctl_full_usage "\n\n" \
4227 "Configure kernel parameters at runtime\n" \ 4237 "Configure kernel parameters at runtime\n" \
4228 "\nOptions:" \ 4238 "\nOptions:" \
@@ -4241,18 +4251,18 @@
4241 "sysctl [-n] [-e] -A\n" 4251 "sysctl [-n] [-e] -A\n"
4242 4252
4243#define syslogd_trivial_usage \ 4253#define syslogd_trivial_usage \
4244 "[OPTION]..." 4254 "[OPTIONS]"
4245#define syslogd_full_usage "\n\n" \ 4255#define syslogd_full_usage "\n\n" \
4246 "System logging utility.\n" \ 4256 "System logging utility.\n" \
4247 "Note that this version of syslogd ignores /etc/syslog.conf.\n" \ 4257 "Note that this version of syslogd ignores /etc/syslog.conf.\n" \
4248 "\nOptions:" \ 4258 "\nOptions:" \
4249 "\n -n Run in foreground" \ 4259 "\n -n Run in foreground" \
4250 "\n -O FILE Log to given file (default=/var/log/messages)" \ 4260 "\n -O FILE Log to given file (default:/var/log/messages)" \
4251 "\n -l n Set local log level" \ 4261 "\n -l n Set local log level" \
4252 "\n -S Smaller logging output" \ 4262 "\n -S Smaller logging output" \
4253 IF_FEATURE_ROTATE_LOGFILE( \ 4263 IF_FEATURE_ROTATE_LOGFILE( \
4254 "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ 4264 "\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \
4255 "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ 4265 "\n -b NUM Number of rotated logs to keep (default:1, max=99, 0=purge)") \
4256 IF_FEATURE_REMOTE_LOG( \ 4266 IF_FEATURE_REMOTE_LOG( \
4257 "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ 4267 "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \
4258 "\n -L Log locally and via network (default is network only if -R)") \ 4268 "\n -L Log locally and via network (default is network only if -R)") \
@@ -4261,7 +4271,7 @@
4261 IF_FEATURE_IPC_SYSLOG( \ 4271 IF_FEATURE_IPC_SYSLOG( \
4262 "\n -C[size(KiB)] Log to shared mem buffer (read it using logread)") \ 4272 "\n -C[size(KiB)] Log to shared mem buffer (read it using logread)") \
4263 /* NB: -Csize shouldn't have space (because size is optional) */ 4273 /* NB: -Csize shouldn't have space (because size is optional) */
4264/* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ 4274/* "\n -m MIN Minutes between MARK lines (default:20, 0=off)" */
4265 4275
4266#define syslogd_example_usage \ 4276#define syslogd_example_usage \
4267 "$ syslogd -R masterlog:514\n" \ 4277 "$ syslogd -R masterlog:514\n" \
@@ -4273,7 +4283,7 @@
4273 "Concatenate FILE(s) and print them in reverse" 4283 "Concatenate FILE(s) and print them in reverse"
4274 4284
4275#define tail_trivial_usage \ 4285#define tail_trivial_usage \
4276 "[OPTION]... [FILE]..." 4286 "[OPTIONS] [FILE]..."
4277#define tail_full_usage "\n\n" \ 4287#define tail_full_usage "\n\n" \
4278 "Print last 10 lines of each FILE to standard output.\n" \ 4288 "Print last 10 lines of each FILE to standard output.\n" \
4279 "With more than one FILE, precede each with a header giving the\n" \ 4289 "With more than one FILE, precede each with a header giving the\n" \
@@ -4337,7 +4347,7 @@
4337 "$ tar -cf /tmp/tarball.tar /usr/local\n" 4347 "$ tar -cf /tmp/tarball.tar /usr/local\n"
4338 4348
4339#define taskset_trivial_usage \ 4349#define taskset_trivial_usage \
4340 "[-p] [mask] [pid | command [arg]...]" 4350 "[-p] [MASK] [PID | PROG [ARGS]]"
4341#define taskset_full_usage "\n\n" \ 4351#define taskset_full_usage "\n\n" \
4342 "Set or get CPU affinity\n" \ 4352 "Set or get CPU affinity\n" \
4343 "\nOptions:" \ 4353 "\nOptions:" \
@@ -4355,7 +4365,7 @@
4355 "pid 1's current affinity mask: 3\n" 4365 "pid 1's current affinity mask: 3\n"
4356 4366
4357#define tee_trivial_usage \ 4367#define tee_trivial_usage \
4358 "[OPTION]... [FILE]..." 4368 "[OPTIONS] [FILE]..."
4359#define tee_full_usage "\n\n" \ 4369#define tee_full_usage "\n\n" \
4360 "Copy standard input to each FILE, and also to standard output\n" \ 4370 "Copy standard input to each FILE, and also to standard output\n" \
4361 "\nOptions:" \ 4371 "\nOptions:" \
@@ -4384,7 +4394,7 @@
4384#endif 4394#endif
4385 4395
4386#define telnetd_trivial_usage \ 4396#define telnetd_trivial_usage \
4387 "[OPTION]" 4397 "[OPTIONS]"
4388#define telnetd_full_usage "\n\n" \ 4398#define telnetd_full_usage "\n\n" \
4389 "Handle incoming telnet connections" \ 4399 "Handle incoming telnet connections" \
4390 IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \ 4400 IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \
@@ -4442,44 +4452,44 @@
4442 "filter show [ dev STRING ] [ root | parent CLASSID ]" 4452 "filter show [ dev STRING ] [ root | parent CLASSID ]"
4443 4453
4444#define tcpsvd_trivial_usage \ 4454#define tcpsvd_trivial_usage \
4445 "[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." 4455 "[-hEv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] IP PORT PROG"
4446/* with not-implemented options: */ 4456/* with not-implemented options: */
4447/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [-t sec] ip port prog..." */ 4457/* "[-hpEvv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] [-i DIR|-x CDB] [-t SEC] IP PORT PROG" */
4448#define tcpsvd_full_usage "\n\n" \ 4458#define tcpsvd_full_usage "\n\n" \
4449 "Create TCP socket, bind it to ip:port and listen\n" \ 4459 "Create TCP socket, bind to IP:PORT and listen\n" \
4450 "for incoming connection. Run PROG for each connection.\n" \ 4460 "for incoming connection. Run PROG for each connection.\n" \
4451 "\nip IP to listen on. '0' = all" \ 4461 "\nIP IP to listen on. '0' = all" \
4452 "\nport Port to listen on" \ 4462 "\nPORT Port to listen on" \
4453 "\nprog [arg] Program to run" \ 4463 "\nPROG [ARGS] Program to run" \
4454 "\n-l name Local hostname (else looks up local hostname in DNS)" \ 4464 "\n-l NAME Local hostname (else looks up local hostname in DNS)" \
4455 "\n-u user[:group] Change to user/group after bind" \ 4465 "\n-u USER[:GROUP] Change to user/group after bind" \
4456 "\n-c n Handle up to n connections simultaneously" \ 4466 "\n-c N Handle up to N connections simultaneously" \
4457 "\n-b n Allow a backlog of approximately n TCP SYNs" \ 4467 "\n-b N Allow a backlog of approximately N TCP SYNs" \
4458 "\n-C n[:msg] Allow only up to n connections from the same IP" \ 4468 "\n-C N[:MSG] Allow only up to N connections from the same IP" \
4459 "\n New connections from this IP address are closed" \ 4469 "\n New connections from this IP address are closed" \
4460 "\n immediately. 'msg' is written to the peer before close" \ 4470 "\n immediately. MSG is written to the peer before close" \
4461 "\n-h Look up peer's hostname" \ 4471 "\n-h Look up peer's hostname" \
4462 "\n-E Do not set up environment variables" \ 4472 "\n-E Do not set up environment variables" \
4463 "\n-v Verbose" \ 4473 "\n-v Verbose" \
4464 4474
4465#define udpsvd_trivial_usage \ 4475#define udpsvd_trivial_usage \
4466 "[-hEv] [-c n] [-u user] [-l name] ip port prog" 4476 "[-hEv] [-c N] [-u USER] [-l NAME] IP PORT PROG"
4467#define udpsvd_full_usage "\n\n" \ 4477#define udpsvd_full_usage "\n\n" \
4468 "Create UDP socket, bind it to ip:port and wait\n" \ 4478 "Create UDP socket, bind to IP:PORT and wait\n" \
4469 "for incoming packets. Run PROG for each packet,\n" \ 4479 "for incoming packets. Run PROG for each packet,\n" \
4470 "redirecting all further packets with same peer ip:port to it\n" \ 4480 "redirecting all further packets with same peer ip:port to it\n" \
4471 "\nip IP to listen on. '0' = all" \ 4481 "\nIP IP to listen on. '0' = all" \
4472 "\nport Port to listen on" \ 4482 "\nPORT Port to listen on" \
4473 "\nprog [arg] Program to run" \ 4483 "\nPROG [ARGS] Program to run" \
4474 "\n-l name Local hostname (else looks up local hostname in DNS)" \ 4484 "\n-l NAME Local hostname (else looks up local hostname in DNS)" \
4475 "\n-u user[:group] Change to user/group after bind" \ 4485 "\n-u USER[:GROUP] Change to user/group after bind" \
4476 "\n-c n Handle up to n connections simultaneously" \ 4486 "\n-c N Handle up to N connections simultaneously" \
4477 "\n-h Look up peer's hostname" \ 4487 "\n-h Look up peer's hostname" \
4478 "\n-E Do not set up environment variables" \ 4488 "\n-E Do not set up environment variables" \
4479 "\n-v Verbose" \ 4489 "\n-v Verbose" \
4480 4490
4481#define tftp_trivial_usage \ 4491#define tftp_trivial_usage \
4482 "[OPTION]... HOST [PORT]" 4492 "[OPTIONS] HOST [PORT]"
4483#define tftp_full_usage "\n\n" \ 4493#define tftp_full_usage "\n\n" \
4484 "Transfer a file from/to tftp server\n" \ 4494 "Transfer a file from/to tftp server\n" \
4485 "\nOptions:" \ 4495 "\nOptions:" \
@@ -4511,10 +4521,9 @@
4511 "\n -u Access files as USER" \ 4521 "\n -u Access files as USER" \
4512 4522
4513#define time_trivial_usage \ 4523#define time_trivial_usage \
4514 "[OPTION]... COMMAND [ARGS...]" 4524 "[OPTIONS] PROG [ARGS]"
4515#define time_full_usage "\n\n" \ 4525#define time_full_usage "\n\n" \
4516 "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ 4526 "Run PROG. When it finishes, its resource usage is displayed.\n" \
4517 "COMMAND's resource usage information is displayed.\n" \
4518 "\nOptions:" \ 4527 "\nOptions:" \
4519 "\n -v Verbose" \ 4528 "\n -v Verbose" \
4520 4529
@@ -4532,7 +4541,7 @@
4532 "and show the status for however many processes will fit on the screen." \ 4541 "and show the status for however many processes will fit on the screen." \
4533 4542
4534#define touch_trivial_usage \ 4543#define touch_trivial_usage \
4535 "[-c] FILE [FILE...]" 4544 "[-c] FILE [FILE]..."
4536#define touch_full_usage "\n\n" \ 4545#define touch_full_usage "\n\n" \
4537 "Update the last-modified date on the given FILE[s]\n" \ 4546 "Update the last-modified date on the given FILE[s]\n" \
4538 "\nOptions:" \ 4547 "\nOptions:" \
@@ -4790,15 +4799,6 @@ IF_FEATURE_TUNCTL_UG( \
4790 "b\n" \ 4799 "b\n" \
4791 "c\n" 4800 "c\n"
4792 4801
4793#define unix2dos_trivial_usage \
4794 "[option] [FILE]"
4795#define unix2dos_full_usage "\n\n" \
4796 "Convert FILE from unix to dos format.\n" \
4797 "When no file is given, use stdin/stdout.\n" \
4798 "\nOptions:" \
4799 "\n -u dos2unix" \
4800 "\n -d unix2dos" \
4801
4802#define unzip_trivial_usage \ 4802#define unzip_trivial_usage \
4803 "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" 4803 "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]"
4804#define unzip_full_usage "\n\n" \ 4804#define unzip_full_usage "\n\n" \
@@ -4856,7 +4856,7 @@ IF_FEATURE_TUNCTL_UG( \
4856 "$\n" 4856 "$\n"
4857 4857
4858#define vconfig_trivial_usage \ 4858#define vconfig_trivial_usage \
4859 "COMMAND [OPTIONS]..." 4859 "COMMAND [OPTIONS]"
4860#define vconfig_full_usage "\n\n" \ 4860#define vconfig_full_usage "\n\n" \
4861 "Create and remove virtual ethernet devices\n" \ 4861 "Create and remove virtual ethernet devices\n" \
4862 "\nOptions:" \ 4862 "\nOptions:" \
@@ -4868,7 +4868,7 @@ IF_FEATURE_TUNCTL_UG( \
4868 "\n set_name_type [name-type]" \ 4868 "\n set_name_type [name-type]" \
4869 4869
4870#define vi_trivial_usage \ 4870#define vi_trivial_usage \
4871 "[OPTION] [FILE]..." 4871 "[OPTIONS] [FILE]..."
4872#define vi_full_usage "\n\n" \ 4872#define vi_full_usage "\n\n" \
4873 "Edit FILE\n" \ 4873 "Edit FILE\n" \
4874 "\nOptions:" \ 4874 "\nOptions:" \
@@ -4886,9 +4886,9 @@ IF_FEATURE_TUNCTL_UG( \
4886 "\n -a Lock all VTs" \ 4886 "\n -a Lock all VTs" \
4887 4887
4888#define watch_trivial_usage \ 4888#define watch_trivial_usage \
4889 "[-n seconds] [-t] COMMAND..." 4889 "[-n seconds] [-t] PROG [ARGS]"
4890#define watch_full_usage "\n\n" \ 4890#define watch_full_usage "\n\n" \
4891 "Execute a program periodically\n" \ 4891 "Run PROG periodically\n" \
4892 "\nOptions:" \ 4892 "\nOptions:" \
4893 "\n -n Loop period in seconds (default 2)" \ 4893 "\n -n Loop period in seconds (default 2)" \
4894 "\n -t Don't print header" \ 4894 "\n -t Don't print header" \
@@ -4911,7 +4911,7 @@ IF_FEATURE_TUNCTL_UG( \
4911 "\nUse 500ms to specify period in milliseconds" \ 4911 "\nUse 500ms to specify period in milliseconds" \
4912 4912
4913#define wc_trivial_usage \ 4913#define wc_trivial_usage \
4914 "[OPTION]... [FILE]..." 4914 "[OPTIONS] [FILE]..."
4915#define wc_full_usage "\n\n" \ 4915#define wc_full_usage "\n\n" \
4916 "Print line, word, and byte counts for each FILE, and a total line if\n" \ 4916 "Print line, word, and byte counts for each FILE, and a total line if\n" \
4917 "more than one FILE is specified. With no FILE, read standard input.\n" \ 4917 "more than one FILE is specified. With no FILE, read standard input.\n" \
@@ -4946,7 +4946,7 @@ IF_FEATURE_TUNCTL_UG( \
4946 "\n -Y Use proxy ('on' or 'off')" \ 4946 "\n -Y Use proxy ('on' or 'off')" \
4947 4947
4948#define which_trivial_usage \ 4948#define which_trivial_usage \
4949 "[COMMAND...]" 4949 "[COMMAND]..."
4950#define which_full_usage "\n\n" \ 4950#define which_full_usage "\n\n" \
4951 "Locate a COMMAND" 4951 "Locate a COMMAND"
4952#define which_example_usage \ 4952#define which_example_usage \
@@ -4966,9 +4966,9 @@ IF_FEATURE_TUNCTL_UG( \
4966 "Print the user name associated with the current effective user id" 4966 "Print the user name associated with the current effective user id"
4967 4967
4968#define xargs_trivial_usage \ 4968#define xargs_trivial_usage \
4969 "[OPTIONS] [COMMAND] [ARGS...]" 4969 "[OPTIONS] [PROG [ARGS]]"
4970#define xargs_full_usage "\n\n" \ 4970#define xargs_full_usage "\n\n" \
4971 "Execute COMMAND on every item given by standard input\n" \ 4971 "Run PROG on every item given by standard input\n" \
4972 "\nOptions:" \ 4972 "\nOptions:" \
4973 IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ 4973 IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \
4974 "\n -p Ask user whether to run each command") \ 4974 "\n -p Ask user whether to run each command") \
@@ -4977,7 +4977,7 @@ IF_FEATURE_TUNCTL_UG( \
4977 "\n -0 Input is separated by NUL characters") \ 4977 "\n -0 Input is separated by NUL characters") \
4978 "\n -t Print the command on stderr before execution" \ 4978 "\n -t Print the command on stderr before execution" \
4979 "\n -e[STR] STR stops input processing" \ 4979 "\n -e[STR] STR stops input processing" \
4980 "\n -n N Pass no more than N args to COMMAND" \ 4980 "\n -n N Pass no more than N args to PROG" \
4981 "\n -s N Pass command line of no more than N bytes" \ 4981 "\n -s N Pass command line of no more than N bytes" \
4982 IF_FEATURE_XARGS_SUPPORT_TERMOPT( \ 4982 IF_FEATURE_XARGS_SUPPORT_TERMOPT( \
4983 "\n -x Exit if size is exceeded") \ 4983 "\n -x Exit if size is exceeded") \
@@ -4987,9 +4987,9 @@ IF_FEATURE_TUNCTL_UG( \
4987 "$ find . -name '*.c' -print | xargs rm\n" 4987 "$ find . -name '*.c' -print | xargs rm\n"
4988 4988
4989#define yes_trivial_usage \ 4989#define yes_trivial_usage \
4990 "[OPTION]... [STRING]..." 4990 "[OPTIONS] [STRING]"
4991#define yes_full_usage "\n\n" \ 4991#define yes_full_usage "\n\n" \
4992 "Repeatedly output a line with all specified STRING(s), or 'y'" 4992 "Repeatedly output a line with STRING, or 'y'"
4993 4993
4994#define zcat_trivial_usage \ 4994#define zcat_trivial_usage \
4995 "FILE" 4995 "FILE"
@@ -4997,7 +4997,7 @@ IF_FEATURE_TUNCTL_UG( \
4997 "Uncompress to stdout" 4997 "Uncompress to stdout"
4998 4998
4999#define zcip_trivial_usage \ 4999#define zcip_trivial_usage \
5000 "[OPTIONS] ifname script" 5000 "[OPTIONS] IFACE SCRIPT"
5001#define zcip_full_usage "\n\n" \ 5001#define zcip_full_usage "\n\n" \
5002 "Manage a ZeroConf IPv4 link-local address\n" \ 5002 "Manage a ZeroConf IPv4 link-local address\n" \
5003 "\nOptions:" \ 5003 "\nOptions:" \