diff options
-rw-r--r-- | include/usage.h | 221 |
1 files changed, 113 insertions, 108 deletions
diff --git a/include/usage.h b/include/usage.h index 643d35fad..7863a716b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #define NOUSAGE_STR "\b" | 16 | #define NOUSAGE_STR "\b" |
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 | #define acpid_full_usage "\n\n" \ | 20 | #define acpid_full_usage "\n\n" \ |
21 | "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" \ |
22 | "\nOptions:" \ | 22 | "\nOptions:" \ |
@@ -33,7 +33,7 @@ | |||
33 | "# acpid -d /dev/input/event*\n" | 33 | "# acpid -d /dev/input/event*\n" |
34 | 34 | ||
35 | #define addgroup_trivial_usage \ | 35 | #define addgroup_trivial_usage \ |
36 | "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[user_name] ") "group_name" | 36 | "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP" |
37 | #define addgroup_full_usage "\n\n" \ | 37 | #define addgroup_full_usage "\n\n" \ |
38 | "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \ | 38 | "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \ |
39 | "\nOptions:" \ | 39 | "\nOptions:" \ |
@@ -41,7 +41,7 @@ | |||
41 | "\n -S Create a system group" \ | 41 | "\n -S Create a system group" \ |
42 | 42 | ||
43 | #define adduser_trivial_usage \ | 43 | #define adduser_trivial_usage \ |
44 | "[OPTIONS] user_name" | 44 | "[OPTIONS] USER" |
45 | #define adduser_full_usage "\n\n" \ | 45 | #define adduser_full_usage "\n\n" \ |
46 | "Add a user\n" \ | 46 | "Add a user\n" \ |
47 | "\nOptions:" \ | 47 | "\nOptions:" \ |
@@ -55,16 +55,16 @@ | |||
55 | "\n -u UID User id" \ | 55 | "\n -u UID User id" \ |
56 | 56 | ||
57 | #define adjtimex_trivial_usage \ | 57 | #define adjtimex_trivial_usage \ |
58 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-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 offset Time offset, microseconds" \ | 63 | "\n -o OFF Time offset, microseconds" \ |
64 | "\n -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)" \ | 64 | "\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)" \ |
65 | "\n (positive values make clock run faster)" \ | 65 | "\n (positive values make clock run faster)" \ |
66 | "\n -t tick Microseconds per tick, usually 10000" \ | 66 | "\n -t TICK Microseconds per tick, usually 10000" \ |
67 | "\n -p timeconstant" \ | 67 | "\n -p TCONST" \ |
68 | 68 | ||
69 | #define ar_trivial_usage \ | 69 | #define ar_trivial_usage \ |
70 | "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" | 70 | "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" |
@@ -78,11 +78,11 @@ | |||
78 | "\n -v Verbose" \ | 78 | "\n -v Verbose" \ |
79 | 79 | ||
80 | #define arp_trivial_usage \ | 80 | #define arp_trivial_usage \ |
81 | "\n[-vn] [-H type] [-i if] -a [hostname]" \ | 81 | "\n[-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME]" \ |
82 | "\n[-v] [-i if] -d hostname [pub]" \ | 82 | "\n[-v] [-i IF] -d HOSTNAME [pub]" \ |
83 | "\n[-v] [-H type] [-i if] -s hostname hw_addr [temp]" \ | 83 | "\n[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [temp]" \ |
84 | "\n[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub" \ | 84 | "\n[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [netmask MASK] pub" \ |
85 | "\n[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub" | 85 | "\n[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub" |
86 | #define arp_full_usage "\n\n" \ | 86 | #define arp_full_usage "\n\n" \ |
87 | "Manipulate ARP cache\n" \ | 87 | "Manipulate ARP cache\n" \ |
88 | "\nOptions:" \ | 88 | "\nOptions:" \ |
@@ -97,7 +97,7 @@ | |||
97 | "\n -H HWTYPE Hardware address type" \ | 97 | "\n -H HWTYPE Hardware address type" \ |
98 | 98 | ||
99 | #define arping_trivial_usage \ | 99 | #define arping_trivial_usage \ |
100 | "[-fqbDUA] [-c count] [-w timeout] [-I dev] [-s sender] target" | 100 | "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP" |
101 | #define arping_full_usage "\n\n" \ | 101 | #define arping_full_usage "\n\n" \ |
102 | "Send ARP requests/replies\n" \ | 102 | "Send ARP requests/replies\n" \ |
103 | "\nOptions:" \ | 103 | "\nOptions:" \ |
@@ -108,10 +108,10 @@ | |||
108 | "\n -U Unsolicited ARP mode, update your neighbors" \ | 108 | "\n -U Unsolicited ARP mode, update your neighbors" \ |
109 | "\n -A ARP answer mode, update your neighbors" \ | 109 | "\n -A ARP answer mode, update your neighbors" \ |
110 | "\n -c N Stop after sending N ARP requests" \ | 110 | "\n -c N Stop after sending N ARP requests" \ |
111 | "\n -w timeout Time to wait for ARP reply, in seconds" \ | 111 | "\n -w TIMEOUT Time to wait for ARP reply, seconds" \ |
112 | "\n -I dev Interface to use (default eth0)" \ | 112 | "\n -I IFACE Interface to use (default eth0)" \ |
113 | "\n -s sender Sender IP address" \ | 113 | "\n -s SRC_IP Sender IP address" \ |
114 | "\n target Target IP address" \ | 114 | "\n DST_IP Target IP address" \ |
115 | 115 | ||
116 | #define sh_trivial_usage NOUSAGE_STR | 116 | #define sh_trivial_usage NOUSAGE_STR |
117 | #define sh_full_usage "" | 117 | #define sh_full_usage "" |
@@ -255,7 +255,7 @@ | |||
255 | "Uncompress to stdout" | 255 | "Uncompress to stdout" |
256 | 256 | ||
257 | #define cal_trivial_usage \ | 257 | #define cal_trivial_usage \ |
258 | "[-jy] [[month] year]" | 258 | "[-jy] [[MONTH] YEAR]" |
259 | #define cal_full_usage "\n\n" \ | 259 | #define cal_full_usage "\n\n" \ |
260 | "Display a calendar\n" \ | 260 | "Display a calendar\n" \ |
261 | "\nOptions:" \ | 261 | "\nOptions:" \ |
@@ -441,16 +441,16 @@ | |||
441 | "\n -2 Close standard error" \ | 441 | "\n -2 Close standard error" \ |
442 | 442 | ||
443 | #define setuidgid_trivial_usage \ | 443 | #define setuidgid_trivial_usage \ |
444 | "account prog args" | 444 | "USER PROG ARGS" |
445 | #define setuidgid_full_usage "\n\n" \ | 445 | #define setuidgid_full_usage "\n\n" \ |
446 | "Set uid and gid to account's uid and gid, removing all supplementary\n" \ | 446 | "Set uid and gid to USER's uid and gid, removing all supplementary\n" \ |
447 | "groups and run PROG" | 447 | "groups and run PROG" |
448 | #define envuidgid_trivial_usage \ | 448 | #define envuidgid_trivial_usage \ |
449 | "account prog args" | 449 | "USER PROG ARGS" |
450 | #define envuidgid_full_usage "\n\n" \ | 450 | #define envuidgid_full_usage "\n\n" \ |
451 | "Set $UID to account's uid and $GID to account's gid and run PROG" | 451 | "Set $UID to USER's uid and $GID to USER's gid and run PROG" |
452 | #define envdir_trivial_usage \ | 452 | #define envdir_trivial_usage \ |
453 | "dir prog args" | 453 | "DIR PROG ARGS" |
454 | #define envdir_full_usage "\n\n" \ | 454 | #define envdir_full_usage "\n\n" \ |
455 | "Set various environment variables as specified by files\n" \ | 455 | "Set various environment variables as specified by files\n" \ |
456 | "in the directory dir and run PROG" | 456 | "in the directory dir and run PROG" |
@@ -477,7 +477,7 @@ | |||
477 | "\n a SIGXCPU after N seconds" \ | 477 | "\n a SIGXCPU after N seconds" \ |
478 | 478 | ||
479 | #define chroot_trivial_usage \ | 479 | #define chroot_trivial_usage \ |
480 | "NEWROOT [PROG [ARGS]]" | 480 | "NEWROOT [PROG ARGS]" |
481 | #define chroot_full_usage "\n\n" \ | 481 | #define chroot_full_usage "\n\n" \ |
482 | "Run PROG with root directory set to NEWROOT" | 482 | "Run PROG with root directory set to NEWROOT" |
483 | #define chroot_example_usage \ | 483 | #define chroot_example_usage \ |
@@ -527,7 +527,7 @@ | |||
527 | "Print the config file which built busybox" | 527 | "Print the config file which built busybox" |
528 | 528 | ||
529 | #define chrt_trivial_usage \ | 529 | #define chrt_trivial_usage \ |
530 | "[OPTIONS] [PRIO] [PID | PROG [ARGS]]" | 530 | "[OPTIONS] [PRIO] [PID | PROG ARGS]" |
531 | #define chrt_full_usage "\n\n" \ | 531 | #define chrt_full_usage "\n\n" \ |
532 | "Manipulate real-time attributes of a process\n" \ | 532 | "Manipulate real-time attributes of a process\n" \ |
533 | "\nOptions:" \ | 533 | "\nOptions:" \ |
@@ -815,7 +815,7 @@ | |||
815 | "[-Pk" \ | 815 | "[-Pk" \ |
816 | IF_FEATURE_HUMAN_READABLE("mh") \ | 816 | IF_FEATURE_HUMAN_READABLE("mh") \ |
817 | IF_FEATURE_DF_FANCY("ai] [-B SIZE") \ | 817 | IF_FEATURE_DF_FANCY("ai] [-B SIZE") \ |
818 | "] [FILESYSTEM...]" | 818 | "] [FILESYSTEM]..." |
819 | #define df_full_usage "\n\n" \ | 819 | #define df_full_usage "\n\n" \ |
820 | "Print filesystem usage statistics\n" \ | 820 | "Print filesystem usage statistics\n" \ |
821 | "\nOptions:" \ | 821 | "\nOptions:" \ |
@@ -847,7 +847,7 @@ | |||
847 | "/dev/sda3 17381728 17107080 274648 98% /\n" | 847 | "/dev/sda3 17381728 17107080 274648 98% /\n" |
848 | 848 | ||
849 | #define dhcprelay_trivial_usage \ | 849 | #define dhcprelay_trivial_usage \ |
850 | "CLIENT_IFACE[,CLIENT_IFACE2...] SERVER_IFACE [SERVER_IP]" | 850 | "CLIENT_IFACE[,CLIENT_IFACE2]... SERVER_IFACE [SERVER_IP]" |
851 | #define dhcprelay_full_usage "\n\n" \ | 851 | #define dhcprelay_full_usage "\n\n" \ |
852 | "Relay DHCP requests between clients and server" \ | 852 | "Relay DHCP requests between clients and server" \ |
853 | 853 | ||
@@ -927,7 +927,7 @@ | |||
927 | "\n -d unix2dos" \ | 927 | "\n -d unix2dos" \ |
928 | 928 | ||
929 | #define dpkg_trivial_usage \ | 929 | #define dpkg_trivial_usage \ |
930 | "[-ilCPru] [-F option] package_name" | 930 | "[-ilCPru] [-F OPT] PACKAGE" |
931 | #define dpkg_full_usage "\n\n" \ | 931 | #define dpkg_full_usage "\n\n" \ |
932 | "Install, remove and manage Debian packages\n" \ | 932 | "Install, remove and manage Debian packages\n" \ |
933 | "\nOptions:" \ | 933 | "\nOptions:" \ |
@@ -1036,7 +1036,7 @@ | |||
1036 | */ | 1036 | */ |
1037 | 1037 | ||
1038 | #define echo_trivial_usage \ | 1038 | #define echo_trivial_usage \ |
1039 | IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG...]" | 1039 | IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG]..." |
1040 | #define echo_full_usage "\n\n" \ | 1040 | #define echo_full_usage "\n\n" \ |
1041 | "Print the specified ARGs to stdout" \ | 1041 | "Print the specified ARGs to stdout" \ |
1042 | IF_FEATURE_FANCY_ECHO( "\n" \ | 1042 | IF_FEATURE_FANCY_ECHO( "\n" \ |
@@ -1070,7 +1070,7 @@ | |||
1070 | #define ed_full_usage "" | 1070 | #define ed_full_usage "" |
1071 | 1071 | ||
1072 | #define env_trivial_usage \ | 1072 | #define env_trivial_usage \ |
1073 | "[-iu] [-] [name=value]... [PROG [ARGS]]" | 1073 | "[-iu] [-] [name=value]... [PROG ARGS]" |
1074 | #define env_full_usage "\n\n" \ | 1074 | #define env_full_usage "\n\n" \ |
1075 | "Print the current environment or run PROG after setting up\n" \ | 1075 | "Print the current environment or run PROG after setting up\n" \ |
1076 | "the specified environment\n" \ | 1076 | "the specified environment\n" \ |
@@ -1221,7 +1221,7 @@ | |||
1221 | "$ findfs LABEL=MyDevice" | 1221 | "$ findfs LABEL=MyDevice" |
1222 | 1222 | ||
1223 | #define find_trivial_usage \ | 1223 | #define find_trivial_usage \ |
1224 | "[PATH...] [EXPRESSION]" | 1224 | "[PATH]... [EXPRESSION]" |
1225 | #define find_full_usage "\n\n" \ | 1225 | #define find_full_usage "\n\n" \ |
1226 | "Search for files. The default PATH is the current directory,\n" \ | 1226 | "Search for files. The default PATH is the current directory,\n" \ |
1227 | "default EXPRESSION is '-print'\n" \ | 1227 | "default EXPRESSION is '-print'\n" \ |
@@ -1341,7 +1341,7 @@ | |||
1341 | "$ freeramdisk /dev/ram2\n" | 1341 | "$ freeramdisk /dev/ram2\n" |
1342 | 1342 | ||
1343 | #define fsck_trivial_usage \ | 1343 | #define fsck_trivial_usage \ |
1344 | "[-ANPRTV] [-C fd] [-t fstype] [fs-options] [filesys...]" | 1344 | "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..." |
1345 | #define fsck_full_usage "\n\n" \ | 1345 | #define fsck_full_usage "\n\n" \ |
1346 | "Check and repair filesystems\n" \ | 1346 | "Check and repair filesystems\n" \ |
1347 | "\nOptions:" \ | 1347 | "\nOptions:" \ |
@@ -1352,10 +1352,10 @@ | |||
1352 | "\n -T Don't show title on startup" \ | 1352 | "\n -T Don't show title on startup" \ |
1353 | "\n -V Verbose" \ | 1353 | "\n -V Verbose" \ |
1354 | "\n -C n Write status information to specified filedescriptor" \ | 1354 | "\n -C n Write status information to specified filedescriptor" \ |
1355 | "\n -t type List of filesystem types to check" \ | 1355 | "\n -t TYPE List of filesystem types to check" \ |
1356 | 1356 | ||
1357 | #define fsck_minix_trivial_usage \ | 1357 | #define fsck_minix_trivial_usage \ |
1358 | "[-larvsmf] /dev/name" | 1358 | "[-larvsmf] BLOCKDEV" |
1359 | #define fsck_minix_full_usage "\n\n" \ | 1359 | #define fsck_minix_full_usage "\n\n" \ |
1360 | "Check MINIX filesystem\n" \ | 1360 | "Check MINIX filesystem\n" \ |
1361 | "\nOptions:" \ | 1361 | "\nOptions:" \ |
@@ -1507,42 +1507,47 @@ | |||
1507 | "\n -H HOST Log HOST into the utmp file as the hostname" \ | 1507 | "\n -H HOST Log HOST into the utmp file as the hostname" \ |
1508 | 1508 | ||
1509 | #define grep_trivial_usage \ | 1509 | #define grep_trivial_usage \ |
1510 | "[-HhrilLnqvso" \ | 1510 | "[-HhnlLoqvsri" \ |
1511 | IF_DESKTOP("w") \ | 1511 | IF_DESKTOP("w") \ |
1512 | "eF" \ | 1512 | "F" \ |
1513 | IF_FEATURE_GREP_EGREP_ALIAS("E") \ | 1513 | IF_FEATURE_GREP_EGREP_ALIAS("E") \ |
1514 | IF_FEATURE_GREP_CONTEXT("ABC") \ | ||
1515 | IF_EXTRA_COMPAT("z") \ | 1514 | IF_EXTRA_COMPAT("z") \ |
1516 | "] PATTERN [FILE]..." | 1515 | "] [-m N] " \ |
1516 | IF_FEATURE_GREP_CONTEXT("[-A/B/C N] ") \ | ||
1517 | "PATTERN/-e PATTERN.../-f FILE [FILE]..." | ||
1517 | #define grep_full_usage "\n\n" \ | 1518 | #define grep_full_usage "\n\n" \ |
1518 | "Search for PATTERN in each FILE or standard input\n" \ | 1519 | "Search for PATTERN in each FILE or standard input\n" \ |
1519 | "\nOptions:" \ | 1520 | "\nOptions:" \ |
1520 | "\n -H Prefix output lines with filename where match was found" \ | 1521 | "\n -H Add 'filename:' prefix" \ |
1521 | "\n -h Suppress the prefixing filename on output" \ | 1522 | "\n -h Do not add 'filename:' prefix" \ |
1522 | "\n -r Recurse" \ | 1523 | "\n -n Add 'line_no:' prefix" \ |
1523 | "\n -i Ignore case distinctions" \ | 1524 | "\n -l Show only names of files that match" \ |
1524 | "\n -l List names of files that match" \ | 1525 | "\n -L Show only names of files that don't match" \ |
1525 | "\n -L List names of files that don't match" \ | 1526 | "\n -c Show only count of matching lines" \ |
1526 | "\n -n Print line number with output lines" \ | 1527 | "\n -o Show only the matching part of line" \ |
1527 | "\n -q Quiet. Return 0 if PATTERN is found, 1 otherwise" \ | 1528 | "\n -q Quiet. Return 0 if PATTERN is found, 1 otherwise" \ |
1528 | "\n -v Select non-matching lines" \ | 1529 | "\n -v Select non-matching lines" \ |
1529 | "\n -s Suppress file open/read error messages" \ | 1530 | "\n -s Suppress open and read errors" \ |
1530 | "\n -c Only print count of matching lines" \ | 1531 | "\n -r Recurse" \ |
1531 | "\n -o Show only the part of a line that matches PATTERN" \ | 1532 | "\n -i Ignore case" \ |
1532 | "\n -m N Match up to N times per file" \ | ||
1533 | IF_DESKTOP( \ | 1533 | IF_DESKTOP( \ |
1534 | "\n -w Match whole words only") \ | 1534 | "\n -w Match whole words only" \ |
1535 | "\n -F PATTERN is a set of newline-separated strings" \ | 1535 | ) \ |
1536 | "\n -F PATTERN is a literal (not regexp)" \ | ||
1536 | IF_FEATURE_GREP_EGREP_ALIAS( \ | 1537 | IF_FEATURE_GREP_EGREP_ALIAS( \ |
1537 | "\n -E PATTERN is an extended regular expression") \ | 1538 | "\n -E PATTERN is an extended regexp" \ |
1538 | "\n -e PTRN Pattern to match" \ | 1539 | ) \ |
1539 | "\n -f FILE Read pattern from file" \ | 1540 | IF_EXTRA_COMPAT( \ |
1541 | "\n -z Input is NUL terminated" \ | ||
1542 | ) \ | ||
1543 | "\n -m N Match up to N times per file" \ | ||
1540 | IF_FEATURE_GREP_CONTEXT( \ | 1544 | IF_FEATURE_GREP_CONTEXT( \ |
1541 | "\n -A N Print N lines of trailing context" \ | 1545 | "\n -A N Print N lines of trailing context" \ |
1542 | "\n -B N Print N lines of leading context" \ | 1546 | "\n -B N Print N lines of leading context" \ |
1543 | "\n -C N Print N lines of output context") \ | 1547 | "\n -C N Same as '-A N -B N'" \ |
1544 | IF_EXTRA_COMPAT( \ | 1548 | ) \ |
1545 | "\n -z Input is NUL terminated") \ | 1549 | "\n -e PTRN Pattern to match" \ |
1550 | "\n -f FILE Read pattern from file" \ | ||
1546 | 1551 | ||
1547 | #define grep_example_usage \ | 1552 | #define grep_example_usage \ |
1548 | "$ grep root /etc/passwd\n" \ | 1553 | "$ grep root /etc/passwd\n" \ |
@@ -1800,7 +1805,7 @@ | |||
1800 | " [up|down] ..." | 1805 | " [up|down] ..." |
1801 | 1806 | ||
1802 | #define ifenslave_trivial_usage \ | 1807 | #define ifenslave_trivial_usage \ |
1803 | "[-cdf] master-iface <slave-iface...>" | 1808 | "[-cdf] MASTER_IFACE SLAVE_IFACE..." |
1804 | #define ifenslave_full_usage "\n\n" \ | 1809 | #define ifenslave_full_usage "\n\n" \ |
1805 | "Configure network interfaces for parallel routing\n" \ | 1810 | "Configure network interfaces for parallel routing\n" \ |
1806 | "\nOptions:" \ | 1811 | "\nOptions:" \ |
@@ -1852,7 +1857,7 @@ | |||
1852 | "\n -k Kill running daemon" \ | 1857 | "\n -k Kill running daemon" \ |
1853 | 1858 | ||
1854 | #define ifup_trivial_usage \ | 1859 | #define ifup_trivial_usage \ |
1855 | "[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." | 1860 | "[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] IFACE..." |
1856 | #define ifup_full_usage "\n\n" \ | 1861 | #define ifup_full_usage "\n\n" \ |
1857 | "Options:" \ | 1862 | "Options:" \ |
1858 | "\n -a De/configure all interfaces automatically" \ | 1863 | "\n -a De/configure all interfaces automatically" \ |
@@ -2073,7 +2078,7 @@ | |||
2073 | 2078 | ||
2074 | /* -v, -b, -c are ignored */ | 2079 | /* -v, -b, -c are ignored */ |
2075 | #define install_trivial_usage \ | 2080 | #define install_trivial_usage \ |
2076 | "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory" | 2081 | "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST" |
2077 | #define install_full_usage "\n\n" \ | 2082 | #define install_full_usage "\n\n" \ |
2078 | "Copy files and set attributes\n" \ | 2083 | "Copy files and set attributes\n" \ |
2079 | "\nOptions:" \ | 2084 | "\nOptions:" \ |
@@ -2252,7 +2257,7 @@ | |||
2252 | "$ kill 252\n" | 2257 | "$ kill 252\n" |
2253 | 2258 | ||
2254 | #define killall_trivial_usage \ | 2259 | #define killall_trivial_usage \ |
2255 | "[-l] [-q] [-SIG] process-name..." | 2260 | "[-l] [-q] [-SIG] PROCESS_NAME..." |
2256 | #define killall_full_usage "\n\n" \ | 2261 | #define killall_full_usage "\n\n" \ |
2257 | "Send a signal (default: TERM) to given processes\n" \ | 2262 | "Send a signal (default: TERM) to given processes\n" \ |
2258 | "\nOptions:" \ | 2263 | "\nOptions:" \ |
@@ -2311,7 +2316,7 @@ | |||
2311 | #define linuxrc_full_usage "" | 2316 | #define linuxrc_full_usage "" |
2312 | 2317 | ||
2313 | #define setarch_trivial_usage \ | 2318 | #define setarch_trivial_usage \ |
2314 | "personality program [args...]" | 2319 | "personality PROG ARGS" |
2315 | #define setarch_full_usage "\n\n" \ | 2320 | #define setarch_full_usage "\n\n" \ |
2316 | "Personality may be:\n" \ | 2321 | "Personality may be:\n" \ |
2317 | " linux32 Set 32bit uname emulation\n" \ | 2322 | " linux32 Set 32bit uname emulation\n" \ |
@@ -2420,7 +2425,7 @@ | |||
2420 | "\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print" \ | 2425 | "\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print" \ |
2421 | 2426 | ||
2422 | #define lpq_trivial_usage \ | 2427 | #define lpq_trivial_usage \ |
2423 | "[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID...] [-fs]" | 2428 | "[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID]... [-fs]" |
2424 | #define lpq_full_usage "\n\n" \ | 2429 | #define lpq_full_usage "\n\n" \ |
2425 | "Options:" \ | 2430 | "Options:" \ |
2426 | "\n -P lp service to connect to (else uses $PRINTER)" \ | 2431 | "\n -P lp service to connect to (else uses $PRINTER)" \ |
@@ -2769,8 +2774,8 @@ | |||
2769 | "[-L LABEL] " \ | 2774 | "[-L LABEL] " \ |
2770 | /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ | 2775 | /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ |
2771 | "BLOCKDEV [KBYTES]" | 2776 | "BLOCKDEV [KBYTES]" |
2772 | #define mkfs_ext2_full_usage "\n" \ | 2777 | #define mkfs_ext2_full_usage "\n\n" \ |
2773 | "\n -b BLK_SIZE Block size, bytes" \ | 2778 | " -b BLK_SIZE Block size, bytes" \ |
2774 | /* "\n -c Check device for bad blocks" */ \ | 2779 | /* "\n -c Check device for bad blocks" */ \ |
2775 | /* "\n -E opts Set extended options" */ \ | 2780 | /* "\n -E opts Set extended options" */ \ |
2776 | /* "\n -f size Fragment size in bytes" */ \ | 2781 | /* "\n -f size Fragment size in bytes" */ \ |
@@ -2795,14 +2800,14 @@ | |||
2795 | /* "\n -v Verbose" */ \ | 2800 | /* "\n -v Verbose" */ \ |
2796 | 2801 | ||
2797 | #define mkfs_minix_trivial_usage \ | 2802 | #define mkfs_minix_trivial_usage \ |
2798 | "[-c | -l filename] [-nXX] [-iXX] BLOCKDEV [KBYTES]" | 2803 | "[-c | -l FILE] [-nXX] [-iXX] BLOCKDEV [KBYTES]" |
2799 | #define mkfs_minix_full_usage "\n\n" \ | 2804 | #define mkfs_minix_full_usage "\n\n" \ |
2800 | "Make a MINIX filesystem\n" \ | 2805 | "Make a MINIX filesystem\n" \ |
2801 | "\nOptions:" \ | 2806 | "\nOptions:" \ |
2802 | "\n -c Check device for bad blocks" \ | 2807 | "\n -c Check device for bad blocks" \ |
2803 | "\n -n [14|30] Maximum length of filenames" \ | 2808 | "\n -n [14|30] Maximum length of filenames" \ |
2804 | "\n -i INODES Number of inodes for the filesystem" \ | 2809 | "\n -i INODES Number of inodes for the filesystem" \ |
2805 | "\n -l FILENAME Read bad blocks list from FILENAME" \ | 2810 | "\n -l FILE Read bad blocks list from FILE" \ |
2806 | "\n -v Make version 2 filesystem" \ | 2811 | "\n -v Make version 2 filesystem" \ |
2807 | 2812 | ||
2808 | #define mkfs_reiser_trivial_usage \ | 2813 | #define mkfs_reiser_trivial_usage \ |
@@ -2876,10 +2881,10 @@ | |||
2876 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" | 2881 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" |
2877 | 2882 | ||
2878 | #define modprobe_trivial_usage \ | 2883 | #define modprobe_trivial_usage \ |
2879 | IF_MODPROBE_SMALL("[-qfwrsv] MODULE [symbol=value...]") \ | 2884 | IF_MODPROBE_SMALL("[-qfwrsv] MODULE [symbol=value]...") \ |
2880 | IF_NOT_MODPROBE_SMALL("[-" \ | 2885 | IF_NOT_MODPROBE_SMALL("[-" \ |
2881 | IF_FEATURE_2_4_MODULES("k")"nqrsv" \ | 2886 | IF_FEATURE_2_4_MODULES("k")"nqrsv" \ |
2882 | IF_FEATURE_MODPROBE_BLACKLIST("b")"] MODULE [symbol=value...]") | 2887 | IF_FEATURE_MODPROBE_BLACKLIST("b")"] MODULE [symbol=value]...") |
2883 | #define modprobe_full_usage "\n\n" \ | 2888 | #define modprobe_full_usage "\n\n" \ |
2884 | "Options:" \ | 2889 | "Options:" \ |
2885 | IF_MODPROBE_SMALL( \ | 2890 | IF_MODPROBE_SMALL( \ |
@@ -3185,7 +3190,7 @@ | |||
3185 | ) | 3190 | ) |
3186 | 3191 | ||
3187 | #define nice_trivial_usage \ | 3192 | #define nice_trivial_usage \ |
3188 | "[-n ADJUST] [PROG [ARGS]]" | 3193 | "[-n ADJUST] [PROG ARGS]" |
3189 | #define nice_full_usage "\n\n" \ | 3194 | #define nice_full_usage "\n\n" \ |
3190 | "Run PROG with modified scheduling priority\n" \ | 3195 | "Run PROG with modified scheduling priority\n" \ |
3191 | "\nOptions:" \ | 3196 | "\nOptions:" \ |
@@ -3217,7 +3222,7 @@ | |||
3217 | "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" | 3222 | "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" |
3218 | 3223 | ||
3219 | #define nohup_trivial_usage \ | 3224 | #define nohup_trivial_usage \ |
3220 | "PROG [ARGS]" | 3225 | "PROG ARGS" |
3221 | #define nohup_full_usage "\n\n" \ | 3226 | #define nohup_full_usage "\n\n" \ |
3222 | "Run PROG immune to hangups, with output to a non-tty" | 3227 | "Run PROG immune to hangups, with output to a non-tty" |
3223 | #define nohup_example_usage \ | 3228 | #define nohup_example_usage \ |
@@ -3259,7 +3264,7 @@ | |||
3259 | "(or standard input) to standard output." | 3264 | "(or standard input) to standard output." |
3260 | 3265 | ||
3261 | #define openvt_trivial_usage \ | 3266 | #define openvt_trivial_usage \ |
3262 | "[-c N] [-sw] [PROG [ARGS]]" | 3267 | "[-c N] [-sw] [PROG ARGS]" |
3263 | #define openvt_full_usage "\n\n" \ | 3268 | #define openvt_full_usage "\n\n" \ |
3264 | "Start PROG on a new virtual terminal\n" \ | 3269 | "Start PROG on a new virtual terminal\n" \ |
3265 | "\nOptions:" \ | 3270 | "\nOptions:" \ |
@@ -3339,11 +3344,11 @@ | |||
3339 | 3344 | ||
3340 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) | 3345 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) |
3341 | #define pidof_trivial_usage \ | 3346 | #define pidof_trivial_usage \ |
3342 | "[OPTIONS] [NAME...]" | 3347 | "[OPTIONS] [NAME]..." |
3343 | #define USAGE_PIDOF "\n\nOptions:" | 3348 | #define USAGE_PIDOF "\n\nOptions:" |
3344 | #else | 3349 | #else |
3345 | #define pidof_trivial_usage \ | 3350 | #define pidof_trivial_usage \ |
3346 | "[NAME...]" | 3351 | "[NAME]..." |
3347 | #define USAGE_PIDOF /* none */ | 3352 | #define USAGE_PIDOF /* none */ |
3348 | #endif | 3353 | #endif |
3349 | #define pidof_full_usage "\n\n" \ | 3354 | #define pidof_full_usage "\n\n" \ |
@@ -3478,13 +3483,13 @@ | |||
3478 | "\n -f Force power off (don't go through init)" \ | 3483 | "\n -f Force power off (don't go through init)" \ |
3479 | 3484 | ||
3480 | #define printenv_trivial_usage \ | 3485 | #define printenv_trivial_usage \ |
3481 | "[VARIABLE...]" | 3486 | "[VARIABLE]..." |
3482 | #define printenv_full_usage "\n\n" \ | 3487 | #define printenv_full_usage "\n\n" \ |
3483 | "Print all or part of environment.\n" \ | 3488 | "Print environment VARIABLEs.\n" \ |
3484 | "If no environment VARIABLE specified, print them all." | 3489 | "If no VARIABLE specified, print all." |
3485 | 3490 | ||
3486 | #define printf_trivial_usage \ | 3491 | #define printf_trivial_usage \ |
3487 | "FORMAT [ARGUMENT...]" | 3492 | "FORMAT [ARGUMENT]..." |
3488 | #define printf_full_usage "\n\n" \ | 3493 | #define printf_full_usage "\n\n" \ |
3489 | "Format and print ARGUMENT(s) according to FORMAT,\n" \ | 3494 | "Format and print ARGUMENT(s) according to FORMAT,\n" \ |
3490 | "where FORMAT controls the output exactly as in C printf" | 3495 | "where FORMAT controls the output exactly as in C printf" |
@@ -3615,9 +3620,9 @@ | |||
3615 | "\n -n Disable byte order auto-detection" \ | 3620 | "\n -n Disable byte order auto-detection" \ |
3616 | 3621 | ||
3617 | #define realpath_trivial_usage \ | 3622 | #define realpath_trivial_usage \ |
3618 | "pathname..." | 3623 | "FILE..." |
3619 | #define realpath_full_usage "\n\n" \ | 3624 | #define realpath_full_usage "\n\n" \ |
3620 | "Return the absolute pathnames of given argument" | 3625 | "Return the absolute pathnames of given FILE" |
3621 | 3626 | ||
3622 | #define reboot_trivial_usage \ | 3627 | #define reboot_trivial_usage \ |
3623 | "[-d DELAY] [-n] [-f]" | 3628 | "[-d DELAY] [-n] [-f]" |
@@ -3633,8 +3638,8 @@ | |||
3633 | #define reformime_full_usage "\n\n" \ | 3638 | #define reformime_full_usage "\n\n" \ |
3634 | "Parse MIME-encoded message\n" \ | 3639 | "Parse MIME-encoded message\n" \ |
3635 | "\nOptions:" \ | 3640 | "\nOptions:" \ |
3636 | "\n -x prefix Extract content of MIME sections to files" \ | 3641 | "\n -x PREFIX Extract content of MIME sections to files" \ |
3637 | "\n -X prog [args] Filter content of MIME sections through prog." \ | 3642 | "\n -X PROG ARGS Filter content of MIME sections through prog." \ |
3638 | "\n Must be the last option" \ | 3643 | "\n Must be the last option" \ |
3639 | "\n" \ | 3644 | "\n" \ |
3640 | "\nOther options are silently ignored." \ | 3645 | "\nOther options are silently ignored." \ |
@@ -3730,7 +3735,7 @@ | |||
3730 | "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" \ | 3735 | "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" \ |
3731 | 3736 | ||
3732 | #define rpm_trivial_usage \ | 3737 | #define rpm_trivial_usage \ |
3733 | "-i -q[ildc]p package.rpm" | 3738 | "-i -q[ildc]p PACKAGE.rpm" |
3734 | #define rpm_full_usage "\n\n" \ | 3739 | #define rpm_full_usage "\n\n" \ |
3735 | "Manipulate RPM packages\n" \ | 3740 | "Manipulate RPM packages\n" \ |
3736 | "\nOptions:" \ | 3741 | "\nOptions:" \ |
@@ -3771,8 +3776,8 @@ | |||
3771 | ) | 3776 | ) |
3772 | 3777 | ||
3773 | #define runcon_trivial_usage \ | 3778 | #define runcon_trivial_usage \ |
3774 | "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG [ARGS]\n" \ | 3779 | "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG ARGS\n" \ |
3775 | " runcon CONTEXT PROG [ARGS]" | 3780 | " runcon CONTEXT PROG ARGS" |
3776 | #define runcon_full_usage "\n\n" \ | 3781 | #define runcon_full_usage "\n\n" \ |
3777 | "Run PROG in a different security context\n" \ | 3782 | "Run PROG in a different security context\n" \ |
3778 | "\n CONTEXT Complete security context\n" \ | 3783 | "\n CONTEXT Complete security context\n" \ |
@@ -3818,23 +3823,23 @@ | |||
3818 | "+ shutdown -h +4m" | 3823 | "+ shutdown -h +4m" |
3819 | 3824 | ||
3820 | #define runlevel_trivial_usage \ | 3825 | #define runlevel_trivial_usage \ |
3821 | "[utmp]" | 3826 | "[FILE]" |
3822 | #define runlevel_full_usage "\n\n" \ | 3827 | #define runlevel_full_usage "\n\n" \ |
3823 | "Find the current and previous system runlevel\n" \ | 3828 | "Find the current and previous system runlevel\n" \ |
3824 | "\n" \ | 3829 | "\n" \ |
3825 | "If no utmp file exists or if no runlevel record can be found,\n" \ | 3830 | "If no utmp FILE exists or if no runlevel record can be found,\n" \ |
3826 | "print \"unknown\"" | 3831 | "print \"unknown\"" |
3827 | #define runlevel_example_usage \ | 3832 | #define runlevel_example_usage \ |
3828 | "$ runlevel /var/run/utmp\n" \ | 3833 | "$ runlevel /var/run/utmp\n" \ |
3829 | "N 2" | 3834 | "N 2" |
3830 | 3835 | ||
3831 | #define runsv_trivial_usage \ | 3836 | #define runsv_trivial_usage \ |
3832 | "dir" | 3837 | "DIR" |
3833 | #define runsv_full_usage "\n\n" \ | 3838 | #define runsv_full_usage "\n\n" \ |
3834 | "Start and monitor a service and optionally an appendant log service" | 3839 | "Start and monitor a service and optionally an appendant log service" |
3835 | 3840 | ||
3836 | #define runsvdir_trivial_usage \ | 3841 | #define runsvdir_trivial_usage \ |
3837 | "[-P] [-s SCRIPT] dir" | 3842 | "[-P] [-s SCRIPT] DIR" |
3838 | #define runsvdir_full_usage "\n\n" \ | 3843 | #define runsvdir_full_usage "\n\n" \ |
3839 | "Start a runsv process for each subdirectory. If it exits, restart it.\n" \ | 3844 | "Start a runsv process for each subdirectory. If it exits, restart it.\n" \ |
3840 | "\n -P Put each runsv in a new session" \ | 3845 | "\n -P Put each runsv in a new session" \ |
@@ -3993,7 +3998,7 @@ | |||
3993 | "Change boolean setting" | 3998 | "Change boolean setting" |
3994 | 3999 | ||
3995 | #define setsid_trivial_usage \ | 4000 | #define setsid_trivial_usage \ |
3996 | "PROG [ARG...]" | 4001 | "PROG ARGS" |
3997 | #define setsid_full_usage "\n\n" \ | 4002 | #define setsid_full_usage "\n\n" \ |
3998 | "Run PROG in a new session. PROG will have no controlling terminal\n" \ | 4003 | "Run PROG in a new session. PROG will have no controlling terminal\n" \ |
3999 | "and will not be affected by keyboard signals (Ctrl-C etc).\n" \ | 4004 | "and will not be affected by keyboard signals (Ctrl-C etc).\n" \ |
@@ -4108,7 +4113,7 @@ | |||
4108 | "$ cat TODO | split -a 2 -l 2 TODO_\n" | 4113 | "$ cat TODO | split -a 2 -l 2 TODO_\n" |
4109 | 4114 | ||
4110 | #define start_stop_daemon_trivial_usage \ | 4115 | #define start_stop_daemon_trivial_usage \ |
4111 | "[OPTIONS] [-S|-K] ... [-- arguments...]" | 4116 | "[OPTIONS] [-S|-K] ... [-- ARGS...]" |
4112 | #define start_stop_daemon_full_usage "\n\n" \ | 4117 | #define start_stop_daemon_full_usage "\n\n" \ |
4113 | "Search for matching processes, and then\n" \ | 4118 | "Search for matching processes, and then\n" \ |
4114 | "-K: stop all matching processes.\n" \ | 4119 | "-K: stop all matching processes.\n" \ |
@@ -4261,7 +4266,7 @@ | |||
4261 | "\n -s SH Shell to use instead of default shell" \ | 4266 | "\n -s SH Shell to use instead of default shell" \ |
4262 | 4267 | ||
4263 | #define sulogin_trivial_usage \ | 4268 | #define sulogin_trivial_usage \ |
4264 | "[OPTIONS] [TTY]" | 4269 | "[-t N] [TTY]" |
4265 | #define sulogin_full_usage "\n\n" \ | 4270 | #define sulogin_full_usage "\n\n" \ |
4266 | "Single user login\n" \ | 4271 | "Single user login\n" \ |
4267 | "\nOptions:" \ | 4272 | "\nOptions:" \ |
@@ -4276,7 +4281,7 @@ | |||
4276 | "\n -s Use System V sum algorithm (512byte blocks)" \ | 4281 | "\n -s Use System V sum algorithm (512byte blocks)" \ |
4277 | 4282 | ||
4278 | #define sv_trivial_usage \ | 4283 | #define sv_trivial_usage \ |
4279 | "[-v] [-w SEC] command service..." | 4284 | "[-v] [-w SEC] CMD SERVICE_DIR..." |
4280 | #define sv_full_usage "\n\n" \ | 4285 | #define sv_full_usage "\n\n" \ |
4281 | "Control services monitored by runsv supervisor.\n" \ | 4286 | "Control services monitored by runsv supervisor.\n" \ |
4282 | "Commands (only first character is enough):\n" \ | 4287 | "Commands (only first character is enough):\n" \ |
@@ -4331,7 +4336,7 @@ | |||
4331 | 4336 | ||
4332 | #define fsync_trivial_usage \ | 4337 | #define fsync_trivial_usage \ |
4333 | "[OPTIONS] FILE..." | 4338 | "[OPTIONS] FILE..." |
4334 | #define fsync_full_usage \ | 4339 | #define fsync_full_usage "\n\n" \ |
4335 | "Write files' buffered blocks to disk\n" \ | 4340 | "Write files' buffered blocks to disk\n" \ |
4336 | "\nOptions:" \ | 4341 | "\nOptions:" \ |
4337 | "\n -d Avoid syncing metadata" | 4342 | "\n -d Avoid syncing metadata" |
@@ -4363,7 +4368,7 @@ | |||
4363 | "\nOptions:" \ | 4368 | "\nOptions:" \ |
4364 | "\n -n Run in foreground" \ | 4369 | "\n -n Run in foreground" \ |
4365 | "\n -O FILE Log to given file (default:/var/log/messages)" \ | 4370 | "\n -O FILE Log to given file (default:/var/log/messages)" \ |
4366 | "\n -l n Set local log level" \ | 4371 | "\n -l N Set local log level" \ |
4367 | "\n -S Smaller logging output" \ | 4372 | "\n -S Smaller logging output" \ |
4368 | IF_FEATURE_ROTATE_LOGFILE( \ | 4373 | IF_FEATURE_ROTATE_LOGFILE( \ |
4369 | "\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \ | 4374 | "\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \ |
@@ -4459,7 +4464,7 @@ | |||
4459 | "$ tar -cf /tmp/tarball.tar /usr/local\n" | 4464 | "$ tar -cf /tmp/tarball.tar /usr/local\n" |
4460 | 4465 | ||
4461 | #define taskset_trivial_usage \ | 4466 | #define taskset_trivial_usage \ |
4462 | "[-p] [MASK] [PID | PROG [ARGS]]" | 4467 | "[-p] [MASK] [PID | PROG ARGS]" |
4463 | #define taskset_full_usage "\n\n" \ | 4468 | #define taskset_full_usage "\n\n" \ |
4464 | "Set or get CPU affinity\n" \ | 4469 | "Set or get CPU affinity\n" \ |
4465 | "\nOptions:" \ | 4470 | "\nOptions:" \ |
@@ -4519,9 +4524,9 @@ | |||
4519 | "\n -p PORT Port to listen on" \ | 4524 | "\n -p PORT Port to listen on" \ |
4520 | "\n -b ADDR[:PORT] Address to bind to" \ | 4525 | "\n -b ADDR[:PORT] Address to bind to" \ |
4521 | "\n -F Run in foreground" \ | 4526 | "\n -F Run in foreground" \ |
4522 | "\n -i Run as inetd service" \ | 4527 | "\n -i Inetd mode" \ |
4523 | IF_FEATURE_TELNETD_INETD_WAIT( \ | 4528 | IF_FEATURE_TELNETD_INETD_WAIT( \ |
4524 | "\n -w SEC Run as inetd service in wait mode, linger time SEC" \ | 4529 | "\n -w SEC Inetd 'wait' mode, linger time SEC" \ |
4525 | "\n -S Log to syslog (implied by -i or without -F and -w)" \ | 4530 | "\n -S Log to syslog (implied by -i or without -F and -w)" \ |
4526 | ) \ | 4531 | ) \ |
4527 | ) | 4532 | ) |
@@ -4577,7 +4582,7 @@ | |||
4577 | "for incoming connection. Run PROG for each connection.\n" \ | 4582 | "for incoming connection. Run PROG for each connection.\n" \ |
4578 | "\n IP IP to listen on. '0' = all" \ | 4583 | "\n IP IP to listen on. '0' = all" \ |
4579 | "\n PORT Port to listen on" \ | 4584 | "\n PORT Port to listen on" \ |
4580 | "\n PROG [ARGS] Program to run" \ | 4585 | "\n PROG ARGS Program to run" \ |
4581 | "\n -l NAME Local hostname (else looks up local hostname in DNS)" \ | 4586 | "\n -l NAME Local hostname (else looks up local hostname in DNS)" \ |
4582 | "\n -u USER[:GRP] Change to user/group after bind" \ | 4587 | "\n -u USER[:GRP] Change to user/group after bind" \ |
4583 | "\n -c N Handle up to N connections simultaneously" \ | 4588 | "\n -c N Handle up to N connections simultaneously" \ |
@@ -4597,7 +4602,7 @@ | |||
4597 | "redirecting all further packets with same peer ip:port to it.\n" \ | 4602 | "redirecting all further packets with same peer ip:port to it.\n" \ |
4598 | "\n IP IP to listen on. '0' = all" \ | 4603 | "\n IP IP to listen on. '0' = all" \ |
4599 | "\n PORT Port to listen on" \ | 4604 | "\n PORT Port to listen on" \ |
4600 | "\n PROG [ARGS] Program to run" \ | 4605 | "\n PROG ARGS Program to run" \ |
4601 | "\n -l NAME Local hostname (else looks up local hostname in DNS)" \ | 4606 | "\n -l NAME Local hostname (else looks up local hostname in DNS)" \ |
4602 | "\n -u USER[:GRP] Change to user/group after bind" \ | 4607 | "\n -u USER[:GRP] Change to user/group after bind" \ |
4603 | "\n -c N Handle up to N connections simultaneously" \ | 4608 | "\n -c N Handle up to N connections simultaneously" \ |
@@ -4638,14 +4643,14 @@ | |||
4638 | "\n -u Access files as USER" \ | 4643 | "\n -u Access files as USER" \ |
4639 | 4644 | ||
4640 | #define time_trivial_usage \ | 4645 | #define time_trivial_usage \ |
4641 | "[OPTIONS] PROG [ARGS]" | 4646 | "[OPTIONS] PROG ARGS" |
4642 | #define time_full_usage "\n\n" \ | 4647 | #define time_full_usage "\n\n" \ |
4643 | "Run PROG. When it finishes, its resource usage is displayed.\n" \ | 4648 | "Run PROG. When it finishes, its resource usage is displayed.\n" \ |
4644 | "\nOptions:" \ | 4649 | "\nOptions:" \ |
4645 | "\n -v Verbose" \ | 4650 | "\n -v Verbose" \ |
4646 | 4651 | ||
4647 | #define timeout_trivial_usage \ | 4652 | #define timeout_trivial_usage \ |
4648 | "[-t SECS] [-s SIG] PROG [ARGS]" | 4653 | "[-t SECS] [-s SIG] PROG ARGS" |
4649 | #define timeout_full_usage "\n\n" \ | 4654 | #define timeout_full_usage "\n\n" \ |
4650 | "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \ | 4655 | "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \ |
4651 | "Defaults: SECS: 10, SIG: TERM." \ | 4656 | "Defaults: SECS: 10, SIG: TERM." \ |
@@ -4899,7 +4904,7 @@ | |||
4899 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" | 4904 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
4900 | 4905 | ||
4901 | #define uncompress_trivial_usage \ | 4906 | #define uncompress_trivial_usage \ |
4902 | "[-c] [-f] [FILE...]" | 4907 | "[-c] [-f] [FILE]..." |
4903 | #define uncompress_full_usage "\n\n" \ | 4908 | #define uncompress_full_usage "\n\n" \ |
4904 | "Uncompress .Z file[s]\n" \ | 4909 | "Uncompress .Z file[s]\n" \ |
4905 | "\nOptions:" \ | 4910 | "\nOptions:" \ |
@@ -5040,7 +5045,7 @@ | |||
5040 | "wall ./mymessage" | 5045 | "wall ./mymessage" |
5041 | 5046 | ||
5042 | #define watch_trivial_usage \ | 5047 | #define watch_trivial_usage \ |
5043 | "[-n seconds] [-t] PROG [ARGS]" | 5048 | "[-n SEC] [-t] PROG ARGS" |
5044 | #define watch_full_usage "\n\n" \ | 5049 | #define watch_full_usage "\n\n" \ |
5045 | "Run PROG periodically\n" \ | 5050 | "Run PROG periodically\n" \ |
5046 | "\nOptions:" \ | 5051 | "\nOptions:" \ |
@@ -5120,7 +5125,7 @@ | |||
5120 | "Print the user name associated with the current effective user id" | 5125 | "Print the user name associated with the current effective user id" |
5121 | 5126 | ||
5122 | #define xargs_trivial_usage \ | 5127 | #define xargs_trivial_usage \ |
5123 | "[OPTIONS] [PROG [ARGS]]" | 5128 | "[OPTIONS] [PROG ARGS]" |
5124 | #define xargs_full_usage "\n\n" \ | 5129 | #define xargs_full_usage "\n\n" \ |
5125 | "Run PROG on every item given by standard input\n" \ | 5130 | "Run PROG on every item given by standard input\n" \ |
5126 | "\nOptions:" \ | 5131 | "\nOptions:" \ |