aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.src.h400
1 files changed, 0 insertions, 400 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index d8360931f..2c88c46a1 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -40,28 +40,6 @@ INSERT
40 "# acpid -l /var/log/my-acpi-log\n" \ 40 "# acpid -l /var/log/my-acpi-log\n" \
41 "# acpid -e /proc/acpi/event\n" 41 "# acpid -e /proc/acpi/event\n"
42 42
43#define addgroup_trivial_usage \
44 "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP"
45#define addgroup_full_usage "\n\n" \
46 "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \
47 "\nOptions:" \
48 "\n -g GID Group id" \
49 "\n -S Create a system group" \
50
51#define adduser_trivial_usage \
52 "[OPTIONS] USER"
53#define adduser_full_usage "\n\n" \
54 "Add a user\n" \
55 "\nOptions:" \
56 "\n -h DIR Home directory" \
57 "\n -g GECOS GECOS field" \
58 "\n -s SHELL Login shell" \
59 "\n -G GRP Add user to existing group" \
60 "\n -S Create a system user" \
61 "\n -D Don't assign a password" \
62 "\n -H Don't create home directory" \
63 "\n -u UID User id" \
64
65#define adjtimex_trivial_usage \ 43#define adjtimex_trivial_usage \
66 "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" 44 "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]"
67#define adjtimex_full_usage "\n\n" \ 45#define adjtimex_full_usage "\n\n" \
@@ -110,14 +88,6 @@ INSERT
110 "\n -s SRC_IP Sender IP address" \ 88 "\n -s SRC_IP Sender IP address" \
111 "\n DST_IP Target IP address" \ 89 "\n DST_IP Target IP address" \
112 90
113#define awk_trivial_usage \
114 "[OPTIONS] [AWK_PROGRAM] [FILE]..."
115#define awk_full_usage "\n\n" \
116 "Options:" \
117 "\n -v VAR=VAL Set variable" \
118 "\n -F SEP Use SEP as field separator" \
119 "\n -f FILE Read program from FILE" \
120
121#define beep_trivial_usage \ 91#define beep_trivial_usage \
122 "-f FREQ -l LEN -d DELAY -r COUNT -n" 92 "-f FREQ -l LEN -d DELAY -r COUNT -n"
123#define beep_full_usage "\n\n" \ 93#define beep_full_usage "\n\n" \
@@ -167,30 +137,6 @@ INSERT
167 "each pair is a pair of arguments. Example:\n" \ 137 "each pair is a pair of arguments. Example:\n" \
168 "chat '' ATZ OK ATD123456 CONNECT '' ogin: pppuser word: ppppass '~'" \ 138 "chat '' ATZ OK ATD123456 CONNECT '' ogin: pppuser word: ppppass '~'" \
169 139
170#define chattr_trivial_usage \
171 "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."
172#define chattr_full_usage "\n\n" \
173 "Change file attributes on an ext2 fs\n" \
174 "\nModifiers:" \
175 "\n - Remove attributes" \
176 "\n + Add attributes" \
177 "\n = Set attributes" \
178 "\nAttributes:" \
179 "\n A Don't track atime" \
180 "\n a Append mode only" \
181 "\n c Enable compress" \
182 "\n D Write dir contents synchronously" \
183 "\n d Don't backup with dump" \
184 "\n i Cannot be modified (immutable)" \
185 "\n j Write all data to journal first" \
186 "\n s Zero disk storage when deleted" \
187 "\n S Write file contents synchronously" \
188 "\n t Disable tail-merging of partial blocks with other files" \
189 "\n u Allow file to be undeleted" \
190 "\nOptions:" \
191 "\n -R Recurse" \
192 "\n -v Set the file's version/generation number" \
193
194#define chcon_trivial_usage \ 140#define chcon_trivial_usage \
195 "[OPTIONS] CONTEXT FILE..." \ 141 "[OPTIONS] CONTEXT FILE..." \
196 "\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE..." \ 142 "\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE..." \
@@ -284,15 +230,6 @@ INSERT
284 "\n -t N Limit CPU time, process receives" \ 230 "\n -t N Limit CPU time, process receives" \
285 "\n a SIGXCPU after N seconds" \ 231 "\n a SIGXCPU after N seconds" \
286 232
287#define cmp_trivial_usage \
288 "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
289#define cmp_full_usage "\n\n" \
290 "Compare FILE1 with FILE2 (or stdin)\n" \
291 "\nOptions:" \
292 "\n -l Write the byte numbers (decimal) and values (octal)" \
293 "\n for all differing bytes" \
294 "\n -s Quiet" \
295
296#define bbconfig_trivial_usage \ 233#define bbconfig_trivial_usage \
297 "" 234 ""
298#define bbconfig_full_usage "\n\n" \ 235#define bbconfig_full_usage "\n\n" \
@@ -355,57 +292,6 @@ INSERT
355 "\n -r Delete crontab" \ 292 "\n -r Delete crontab" \
356 "\n FILE Replace crontab by FILE ('-': stdin)" \ 293 "\n FILE Replace crontab by FILE ('-': stdin)" \
357 294
358#define cryptpw_trivial_usage \
359 "[OPTIONS] [PASSWORD] [SALT]"
360/* We do support -s, we just don't mention it */
361#define cryptpw_full_usage "\n\n" \
362 "Crypt the PASSWORD using crypt(3)\n" \
363 "\nOptions:" \
364 IF_LONG_OPTS( \
365 "\n -P,--password-fd=N Read password from fd N" \
366/* "\n -s,--stdin Use stdin; like -P0" */ \
367 "\n -m,--method=TYPE Encryption method TYPE" \
368 "\n -S,--salt=SALT" \
369 ) \
370 IF_NOT_LONG_OPTS( \
371 "\n -P N Read password from fd N" \
372/* "\n -s Use stdin; like -P0" */ \
373 "\n -m TYPE Encryption method TYPE" \
374 "\n -S SALT" \
375 ) \
376
377/* mkpasswd is an alias to cryptpw */
378
379#define mkpasswd_trivial_usage \
380 "[OPTIONS] [PASSWORD] [SALT]"
381/* We do support -s, we just don't mention it */
382#define mkpasswd_full_usage "\n\n" \
383 "Crypt the PASSWORD using crypt(3)\n" \
384 "\nOptions:" \
385 IF_LONG_OPTS( \
386 "\n -P,--password-fd=N Read password from fd N" \
387/* "\n -s,--stdin Use stdin; like -P0" */ \
388 "\n -m,--method=TYPE Encryption method TYPE" \
389 "\n -S,--salt=SALT" \
390 ) \
391 IF_NOT_LONG_OPTS( \
392 "\n -P N Read password from fd N" \
393/* "\n -s Use stdin; like -P0" */ \
394 "\n -m TYPE Encryption method TYPE" \
395 "\n -S SALT" \
396 ) \
397
398#define delgroup_trivial_usage \
399 IF_FEATURE_DEL_USER_FROM_GROUP("[USER] ")"GROUP"
400#define delgroup_full_usage "\n\n" \
401 "Delete group GROUP from the system" \
402 IF_FEATURE_DEL_USER_FROM_GROUP(" or user USER from group GROUP")
403
404#define deluser_trivial_usage \
405 "USER"
406#define deluser_full_usage "\n\n" \
407 "Delete USER from the system"
408
409#define devmem_trivial_usage \ 295#define devmem_trivial_usage \
410 "ADDRESS [WIDTH [VALUE]]" 296 "ADDRESS [WIDTH [VALUE]]"
411 297
@@ -435,28 +321,6 @@ INSERT
435#define dhcprelay_full_usage "\n\n" \ 321#define dhcprelay_full_usage "\n\n" \
436 "Relay DHCP requests between clients and server" \ 322 "Relay DHCP requests between clients and server" \
437 323
438#define diff_trivial_usage \
439 "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
440#define diff_full_usage "\n\n" \
441 "Compare files line by line and output the differences between them.\n" \
442 "This implementation supports unified diffs only.\n" \
443 "\nOptions:" \
444 "\n -a Treat all files as text" \
445 "\n -b Ignore changes in the amount of whitespace" \
446 "\n -B Ignore changes whose lines are all blank" \
447 "\n -d Try hard to find a smaller set of changes" \
448 "\n -i Ignore case differences" \
449 "\n -L Use LABEL instead of the filename in the unified header" \
450 "\n -N Treat absent files as empty" \
451 "\n -q Output only whether files differ" \
452 "\n -r Recurse" \
453 "\n -S Start with FILE when comparing directories" \
454 "\n -T Make tabs line up by prefixing a tab when necessary" \
455 "\n -s Report when two files are the same" \
456 "\n -t Expand tabs to spaces in output" \
457 "\n -U Output LINES lines of context" \
458 "\n -w Ignore all whitespace" \
459
460#define dmesg_trivial_usage \ 324#define dmesg_trivial_usage \
461 "[-c] [-n LEVEL] [-s SIZE]" 325 "[-c] [-n LEVEL] [-s SIZE]"
462#define dmesg_full_usage "\n\n" \ 326#define dmesg_full_usage "\n\n" \
@@ -531,9 +395,6 @@ INSERT
531 "\n -t Close tray" \ 395 "\n -t Close tray" \
532 "\n -T Open/close tray (toggle)" \ 396 "\n -T Open/close tray (toggle)" \
533 397
534#define ed_trivial_usage ""
535#define ed_full_usage ""
536
537#define ether_wake_trivial_usage \ 398#define ether_wake_trivial_usage \
538 "[-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC" 399 "[-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC"
539#define ether_wake_full_usage "\n\n" \ 400#define ether_wake_full_usage "\n\n" \
@@ -679,20 +540,6 @@ INSERT
679#define freeramdisk_example_usage \ 540#define freeramdisk_example_usage \
680 "$ freeramdisk /dev/ram2\n" 541 "$ freeramdisk /dev/ram2\n"
681 542
682#define fsck_trivial_usage \
683 "[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..."
684#define fsck_full_usage "\n\n" \
685 "Check and repair filesystems\n" \
686 "\nOptions:" \
687 "\n -A Walk /etc/fstab and check all filesystems" \
688 "\n -N Don't execute, just show what would be done" \
689 "\n -P With -A, check filesystems in parallel" \
690 "\n -R With -A, skip the root filesystem" \
691 "\n -T Don't show title on startup" \
692 "\n -V Verbose" \
693 "\n -C n Write status information to specified filedescriptor" \
694 "\n -t TYPE List of filesystem types to check" \
695
696#define fsck_minix_trivial_usage \ 543#define fsck_minix_trivial_usage \
697 "[-larvsmf] BLOCKDEV" 544 "[-larvsmf] BLOCKDEV"
698#define fsck_minix_full_usage "\n\n" \ 545#define fsck_minix_full_usage "\n\n" \
@@ -1279,15 +1126,6 @@ INSERT
1279#define logger_example_usage \ 1126#define logger_example_usage \
1280 "$ logger \"hello\"\n" 1127 "$ logger \"hello\"\n"
1281 1128
1282#define login_trivial_usage \
1283 "[-p] [-h HOST] [[-f] USER]"
1284#define login_full_usage "\n\n" \
1285 "Begin a new session on the system\n" \
1286 "\nOptions:" \
1287 "\n -f Don't authenticate (user already authenticated)" \
1288 "\n -h Name of the remote host" \
1289 "\n -p Preserve environment" \
1290
1291#define logread_trivial_usage \ 1129#define logread_trivial_usage \
1292 "[-f]" 1130 "[-f]"
1293#define logread_full_usage "\n\n" \ 1131#define logread_full_usage "\n\n" \
@@ -1344,17 +1182,6 @@ INSERT
1344 "\n -h Print banner page too" \ 1182 "\n -h Print banner page too" \
1345 "\n -V Verbose" \ 1183 "\n -V Verbose" \
1346 1184
1347#define lsattr_trivial_usage \
1348 "[-Radlv] [FILE]..."
1349#define lsattr_full_usage "\n\n" \
1350 "List file attributes on an ext2 fs\n" \
1351 "\nOptions:" \
1352 "\n -R Recurse" \
1353 "\n -a Don't hide entries starting with ." \
1354 "\n -d List directory entries instead of contents" \
1355 "\n -l List long flag names" \
1356 "\n -v List the file's version/generation number" \
1357
1358#define lspci_trivial_usage \ 1185#define lspci_trivial_usage \
1359 "[-mk]" 1186 "[-mk]"
1360#define lspci_full_usage "\n\n" \ 1187#define lspci_full_usage "\n\n" \
@@ -1424,21 +1251,6 @@ INSERT
1424 "/dev/hda[0-15]\n" 1251 "/dev/hda[0-15]\n"
1425#endif 1252#endif
1426 1253
1427#define makemime_trivial_usage \
1428 "[OPTIONS] [FILE]..."
1429#define makemime_full_usage "\n\n" \
1430 "Create multipart MIME-encoded message from FILEs\n" \
1431/* "Transfer encoding is base64, disposition is inline (not attachment)\n" */ \
1432 "\nOptions:" \
1433 "\n -o FILE Output. Default: stdout" \
1434 "\n -a HDR Add header. Examples:" \
1435 "\n \"From: user@host.org\", \"Date: `date -R`\"" \
1436 "\n -c CT Content type. Default: text/plain" \
1437 "\n -C CS Charset. Default: " CONFIG_FEATURE_MIME_CHARSET \
1438/* "\n -e ENC Transfer encoding. Ignored. base64 is assumed" */ \
1439 "\n" \
1440 "\nOther options are silently ignored" \
1441
1442#define man_trivial_usage \ 1254#define man_trivial_usage \
1443 "[-aw] [MANPAGE]..." 1255 "[-aw] [MANPAGE]..."
1444#define man_full_usage "\n\n" \ 1256#define man_full_usage "\n\n" \
@@ -1712,31 +1524,6 @@ INSERT
1712#define parse_full_usage "" 1524#define parse_full_usage ""
1713*/ 1525*/
1714 1526
1715#define passwd_trivial_usage \
1716 "[OPTIONS] [USER]"
1717#define passwd_full_usage "\n\n" \
1718 "Change USER's password. If no USER is specified,\n" \
1719 "changes the password for the current user.\n" \
1720 "\nOptions:" \
1721 "\n -a ALG Algorithm to use for password (des, md5)" /* ", sha1)" */ \
1722 "\n -d Delete password for the account" \
1723 "\n -l Lock (disable) account" \
1724 "\n -u Unlock (re-enable) account" \
1725
1726#define chpasswd_trivial_usage \
1727 IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]")
1728#define chpasswd_full_usage "\n\n" \
1729 "Read user:password from stdin and update /etc/passwd\n" \
1730 "\nOptions:" \
1731 IF_LONG_OPTS( \
1732 "\n -e,--encrypted Supplied passwords are in encrypted form" \
1733 "\n -m,--md5 Use MD5 encryption instead of DES" \
1734 ) \
1735 IF_NOT_LONG_OPTS( \
1736 "\n -e Supplied passwords are in encrypted form" \
1737 "\n -m Use MD5 encryption instead of DES" \
1738 )
1739
1740#define pgrep_trivial_usage \ 1527#define pgrep_trivial_usage \
1741 "[-flnovx] [-s SID|-P PPID|PATTERN]" 1528 "[-flnovx] [-s SID|-P PPID|PATTERN]"
1742#define pgrep_full_usage "\n\n" \ 1529#define pgrep_full_usage "\n\n" \
@@ -1779,9 +1566,6 @@ INSERT
1779 IF_FEATURE_PIDOF_OMIT( \ 1566 IF_FEATURE_PIDOF_OMIT( \
1780 "$ pidof /bin/sh -o %PPID\n20351 5950") 1567 "$ pidof /bin/sh -o %PPID\n20351 5950")
1781 1568
1782#define pipe_progress_trivial_usage NOUSAGE_STR
1783#define pipe_progress_full_usage ""
1784
1785#define pivot_root_trivial_usage \ 1569#define pivot_root_trivial_usage \
1786 "NEW_ROOT PUT_OLD" 1570 "NEW_ROOT PUT_OLD"
1787#define pivot_root_full_usage "\n\n" \ 1571#define pivot_root_full_usage "\n\n" \
@@ -1802,38 +1586,6 @@ INSERT
1802 "\n -s Match session ID (0 for current)" \ 1586 "\n -s Match session ID (0 for current)" \
1803 "\n -P Match parent process ID" \ 1587 "\n -P Match parent process ID" \
1804 1588
1805#define popmaildir_trivial_usage \
1806 "[OPTIONS] MAILDIR [CONN_HELPER ARGS]"
1807#define popmaildir_full_usage "\n\n" \
1808 "Fetch content of remote mailbox to local maildir\n" \
1809 "\nOptions:" \
1810/* "\n -b Binary mode. Ignored" */ \
1811/* "\n -d Debug. Ignored" */ \
1812/* "\n -m Show used memory. Ignored" */ \
1813/* "\n -V Show version. Ignored" */ \
1814/* "\n -c Use tcpclient. Ignored" */ \
1815/* "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" */ \
1816 "\n -s Skip authorization" \
1817 "\n -T Get messages with TOP instead of RETR" \
1818 "\n -k Keep retrieved messages on the server" \
1819 "\n -t SEC Network timeout" \
1820 IF_FEATURE_POPMAILDIR_DELIVERY( \
1821 "\n -F \"PROG ARGS\" Filter program (may be repeated)" \
1822 "\n -M \"PROG ARGS\" Delivery program" \
1823 ) \
1824 "\n" \
1825 "\nFetch from plain POP3 server:" \
1826 "\npopmaildir -k DIR nc pop3.server.com 110 <user_and_pass.txt" \
1827 "\nFetch from SSLed POP3 server and delete fetched emails:" \
1828 "\npopmaildir DIR -- openssl s_client -quiet -connect pop3.server.com:995 <user_and_pass.txt"
1829/* "\n -R BYTES Remove old messages on the server >= BYTES. Ignored" */
1830/* "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" */
1831/* "\n -L BYTES Don't retrieve new messages >= BYTES. Ignored" */
1832/* "\n -H LINES Type first LINES of a message. Ignored" */
1833#define popmaildir_example_usage \
1834 "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \
1835 "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n"
1836
1837 1589
1838#if ENABLE_DESKTOP 1590#if ENABLE_DESKTOP
1839 1591
@@ -1937,17 +1689,6 @@ INSERT
1937 "\n -r Reset all the counters (root only)" \ 1689 "\n -r Reset all the counters (root only)" \
1938 "\n -n Disable byte order auto-detection" \ 1690 "\n -n Disable byte order auto-detection" \
1939 1691
1940#define reformime_trivial_usage \
1941 "[OPTIONS] [FILE]..."
1942#define reformime_full_usage "\n\n" \
1943 "Parse MIME-encoded message\n" \
1944 "\nOptions:" \
1945 "\n -x PREFIX Extract content of MIME sections to files" \
1946 "\n -X PROG ARGS Filter content of MIME sections through PROG" \
1947 "\n Must be the last option" \
1948 "\n" \
1949 "\nOther options are silently ignored" \
1950
1951#define scriptreplay_trivial_usage \ 1692#define scriptreplay_trivial_usage \
1952 "timingfile [typescript [divisor]]" 1693 "timingfile [typescript [divisor]]"
1953#define scriptreplay_full_usage "\n\n" \ 1694#define scriptreplay_full_usage "\n\n" \
@@ -2034,32 +1775,6 @@ INSERT
2034 "\n -l RNG Levelrange" \ 1775 "\n -l RNG Levelrange" \
2035 ) 1776 )
2036 1777
2037#define run_parts_trivial_usage \
2038 "[-t] "IF_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY"
2039#define run_parts_full_usage "\n\n" \
2040 "Run a bunch of scripts in DIRECTORY\n" \
2041 "\nOptions:" \
2042 "\n -t Print what would be run, but don't actually run anything" \
2043 "\n -a ARG Pass ARG as argument for every program" \
2044 "\n -u MASK Set the umask to MASK before running every program" \
2045 IF_FEATURE_RUN_PARTS_FANCY( \
2046 "\n -l Print names of all matching files even if they are not executable" \
2047 )
2048
2049#define run_parts_example_usage \
2050 "$ run-parts -a start /etc/init.d\n" \
2051 "$ run-parts -a stop=now /etc/init.d\n\n" \
2052 "Let's assume you have a script foo/dosomething:\n" \
2053 "#!/bin/sh\n" \
2054 "for i in $*; do eval $i; done; unset i\n" \
2055 "case \"$1\" in\n" \
2056 "start*) echo starting something;;\n" \
2057 "stop*) set -x; shutdown -h $stop;;\n" \
2058 "esac\n\n" \
2059 "Running this yields:\n" \
2060 "$run-parts -a stop=+4m foo/\n" \
2061 "+ shutdown -h +4m"
2062
2063#define runlevel_trivial_usage \ 1778#define runlevel_trivial_usage \
2064 "[FILE]" 1779 "[FILE]"
2065#define runlevel_full_usage "\n\n" \ 1780#define runlevel_full_usage "\n\n" \
@@ -2102,23 +1817,6 @@ INSERT
2102 "\n -t Send timing to stderr" \ 1817 "\n -t Send timing to stderr" \
2103 ) 1818 )
2104 1819
2105#define sed_trivial_usage \
2106 "[-efinr] SED_CMD [FILE]..."
2107#define sed_full_usage "\n\n" \
2108 "Options:" \
2109 "\n -e CMD Add CMD to sed commands to be executed" \
2110 "\n -f FILE Add FILE contents to sed commands to be executed" \
2111 "\n -i Edit files in-place (else sends result to stdout)" \
2112 "\n -n Suppress automatic printing of pattern space" \
2113 "\n -r Use extended regex syntax" \
2114 "\n" \
2115 "\nIf no -e or -f, the first non-option argument is the sed command string." \
2116 "\nRemaining arguments are input files (stdin if none)."
2117
2118#define sed_example_usage \
2119 "$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
2120 "bar\n"
2121
2122#define selinuxenabled_trivial_usage NOUSAGE_STR 1820#define selinuxenabled_trivial_usage NOUSAGE_STR
2123#define selinuxenabled_full_usage "" 1821#define selinuxenabled_full_usage ""
2124 1822
@@ -2205,69 +1903,6 @@ INSERT
2205 "\n -L Enable 3-wire operation" \ 1903 "\n -L Enable 3-wire operation" \
2206 "\n -F Disable RTS/CTS flow control" \ 1904 "\n -F Disable RTS/CTS flow control" \
2207 1905
2208#define start_stop_daemon_trivial_usage \
2209 "[OPTIONS] [-S|-K] ... [-- ARGS...]"
2210#define start_stop_daemon_full_usage "\n\n" \
2211 "Search for matching processes, and then\n" \
2212 "-K: stop all matching processes.\n" \
2213 "-S: start a process unless a matching process is found.\n" \
2214 IF_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \
2215 "\nProcess matching:" \
2216 "\n -u,--user USERNAME|UID Match only this user's processes" \
2217 "\n -n,--name NAME Match processes with NAME" \
2218 "\n in comm field in /proc/PID/stat" \
2219 "\n -x,--exec EXECUTABLE Match processes with this command" \
2220 "\n in /proc/PID/cmdline" \
2221 "\n -p,--pidfile FILE Match a process with PID from the file" \
2222 "\n All specified conditions must match" \
2223 "\n-S only:" \
2224 "\n -x,--exec EXECUTABLE Program to run" \
2225 "\n -a,--startas NAME Zeroth argument" \
2226 "\n -b,--background Background" \
2227 IF_FEATURE_START_STOP_DAEMON_FANCY( \
2228 "\n -N,--nicelevel N Change nice level" \
2229 ) \
2230 "\n -c,--chuid USER[:[GRP]] Change to user/group" \
2231 "\n -m,--make-pidfile Write PID to the pidfile specified by -p" \
2232 "\n-K only:" \
2233 "\n -s,--signal SIG Signal to send" \
2234 "\n -t,--test Match only, exit with 0 if a process is found" \
2235 "\nOther:" \
2236 IF_FEATURE_START_STOP_DAEMON_FANCY( \
2237 "\n -o,--oknodo Exit with status 0 if nothing is done" \
2238 "\n -v,--verbose Verbose" \
2239 ) \
2240 "\n -q,--quiet Quiet" \
2241 ) \
2242 IF_NOT_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \
2243 "\nProcess matching:" \
2244 "\n -u USERNAME|UID Match only this user's processes" \
2245 "\n -n NAME Match processes with NAME" \
2246 "\n in comm field in /proc/PID/stat" \
2247 "\n -x EXECUTABLE Match processes with this command" \
2248 "\n command in /proc/PID/cmdline" \
2249 "\n -p FILE Match a process with PID from the file" \
2250 "\n All specified conditions must match" \
2251 "\n-S only:" \
2252 "\n -x EXECUTABLE Program to run" \
2253 "\n -a NAME Zeroth argument" \
2254 "\n -b Background" \
2255 IF_FEATURE_START_STOP_DAEMON_FANCY( \
2256 "\n -N N Change nice level" \
2257 ) \
2258 "\n -c USER[:[GRP]] Change to user/group" \
2259 "\n -m Write PID to the pidfile specified by -p" \
2260 "\n-K only:" \
2261 "\n -s SIG Signal to send" \
2262 "\n -t Match only, exit with 0 if a process is found" \
2263 "\nOther:" \
2264 IF_FEATURE_START_STOP_DAEMON_FANCY( \
2265 "\n -o Exit with status 0 if nothing is done" \
2266 "\n -v Verbose" \
2267 ) \
2268 "\n -q Quiet" \
2269 ) \
2270
2271#define strings_trivial_usage \ 1906#define strings_trivial_usage \
2272 "[-afo] [-n LEN] [FILE]..." 1907 "[-afo] [-n LEN] [FILE]..."
2273#define strings_full_usage "\n\n" \ 1908#define strings_full_usage "\n\n" \
@@ -2278,13 +1913,6 @@ INSERT
2278 "\n -n LEN At least LEN characters form a string (default 4)" \ 1913 "\n -n LEN At least LEN characters form a string (default 4)" \
2279 "\n -o Precede strings with decimal offsets" \ 1914 "\n -o Precede strings with decimal offsets" \
2280 1915
2281#define sulogin_trivial_usage \
2282 "[-t N] [TTY]"
2283#define sulogin_full_usage "\n\n" \
2284 "Single user login\n" \
2285 "\nOptions:" \
2286 "\n -t N Timeout" \
2287
2288#define sv_trivial_usage \ 1916#define sv_trivial_usage \
2289 "[-v] [-w SEC] CMD SERVICE_DIR..." 1917 "[-v] [-w SEC] CMD SERVICE_DIR..."
2290#define sv_full_usage "\n\n" \ 1918#define sv_full_usage "\n\n" \
@@ -2650,26 +2278,6 @@ INSERT
2650 "\n set_ingress_map [vlan-name] [skb_priority] [vlan_qos]" \ 2278 "\n set_ingress_map [vlan-name] [skb_priority] [vlan_qos]" \
2651 "\n set_name_type [name-type]" \ 2279 "\n set_name_type [name-type]" \
2652 2280
2653#define vi_trivial_usage \
2654 "[OPTIONS] [FILE]..."
2655#define vi_full_usage "\n\n" \
2656 "Edit FILE\n" \
2657 "\nOptions:" \
2658 IF_FEATURE_VI_COLON( \
2659 "\n -c Initial command to run ($EXINIT also available)" \
2660 ) \
2661 IF_FEATURE_VI_READONLY( \
2662 "\n -R Read-only" \
2663 ) \
2664 "\n -H Short help regarding available features" \
2665
2666#define vlock_trivial_usage \
2667 "[-a]"
2668#define vlock_full_usage "\n\n" \
2669 "Lock a virtual terminal. A password is required to unlock.\n" \
2670 "\nOptions:" \
2671 "\n -a Lock all VTs" \
2672
2673#define volname_trivial_usage \ 2281#define volname_trivial_usage \
2674 "[DEVICE]" 2282 "[DEVICE]"
2675#define volname_full_usage "\n\n" \ 2283#define volname_full_usage "\n\n" \
@@ -2708,14 +2316,6 @@ INSERT
2708 "\n" \ 2316 "\n" \
2709 "\nUse 500ms to specify period in milliseconds" \ 2317 "\nUse 500ms to specify period in milliseconds" \
2710 2318
2711#define which_trivial_usage \
2712 "[COMMAND]..."
2713#define which_full_usage "\n\n" \
2714 "Locate a COMMAND"
2715#define which_example_usage \
2716 "$ which login\n" \
2717 "/bin/login\n"
2718
2719#define zcip_trivial_usage \ 2319#define zcip_trivial_usage \
2720 "[OPTIONS] IFACE SCRIPT" 2320 "[OPTIONS] IFACE SCRIPT"
2721#define zcip_full_usage "\n\n" \ 2321#define zcip_full_usage "\n\n" \