diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 16:59:27 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 16:59:27 +0000 |
| commit | 765996aaea0ba6dafcb2c52504065e8c80d2cb92 (patch) | |
| tree | 55852e4b54f8de766e212c32a8713f48564d06dc /include | |
| parent | 0ee3999d13b662d233dfc7decdd4d691cd66fdda (diff) | |
| download | busybox-w32-765996aaea0ba6dafcb2c52504065e8c80d2cb92.tar.gz busybox-w32-765996aaea0ba6dafcb2c52504065e8c80d2cb92.tar.bz2 busybox-w32-765996aaea0ba6dafcb2c52504065e8c80d2cb92.zip | |
Cleanup usage messages (-200 bytes).
Remove busybox_main from applet table since
it is called via separate check
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/busybox.h | 1 | ||||
| -rw-r--r-- | include/usage.h | 745 |
3 files changed, 379 insertions, 370 deletions
diff --git a/include/applets.h b/include/applets.h index d3e38d813..d4a5564b1 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #undef APPLET_ODDNAME | 15 | #undef APPLET_ODDNAME |
| 16 | #undef APPLET_NOUSAGE | 16 | #undef APPLET_NOUSAGE |
| 17 | 17 | ||
| 18 | |||
| 19 | #if defined(PROTOTYPES) | 18 | #if defined(PROTOTYPES) |
| 20 | # define APPLET(a,b,c) extern int a##_main(int argc, char **argv); | 19 | # define APPLET(a,b,c) extern int a##_main(int argc, char **argv); |
| 21 | # define APPLET_NOUSAGE(a,b,c,d) extern int b##_main(int argc, char **argv); | 20 | # define APPLET_NOUSAGE(a,b,c,d) extern int b##_main(int argc, char **argv); |
| @@ -64,8 +63,6 @@ USE_BASENAME(APPLET(basename, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
| 64 | USE_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_NEVER)) | 63 | USE_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 65 | //USE_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_NEVER)) | 64 | //USE_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 66 | USE_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 65 | USE_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 67 | /* Always enabled. */ | ||
| 68 | APPLET_NOUSAGE(busybox, busybox, _BB_DIR_BIN, _BB_SUID_MAYBE) | ||
| 69 | USE_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER, bzcat)) | 66 | USE_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER, bzcat)) |
| 70 | USE_CAL(APPLET(cal, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 67 | USE_CAL(APPLET(cal, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 71 | USE_CAT(APPLET(cat, _BB_DIR_BIN, _BB_SUID_NEVER)) | 68 | USE_CAT(APPLET(cat, _BB_DIR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/busybox.h b/include/busybox.h index a7a0f4915..a1139b5aa 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
| @@ -32,6 +32,7 @@ struct BB_applet { | |||
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | /* From busybox.c and applet.c */ | 34 | /* From busybox.c and applet.c */ |
| 35 | extern int busybox_main(int argc, char **argv); | ||
| 35 | extern const struct BB_applet applets[]; | 36 | extern const struct BB_applet applets[]; |
| 36 | extern const unsigned short NUM_APPLETS; | 37 | extern const unsigned short NUM_APPLETS; |
| 37 | 38 | ||
diff --git a/include/usage.h b/include/usage.h index 701b421a8..a9718d72d 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -14,15 +14,15 @@ | |||
| 14 | #define addgroup_trivial_usage \ | 14 | #define addgroup_trivial_usage \ |
| 15 | "[-g GID] group_name [user_name]" | 15 | "[-g GID] group_name [user_name]" |
| 16 | #define addgroup_full_usage \ | 16 | #define addgroup_full_usage \ |
| 17 | "Adds a group to the system\n\n" \ | 17 | "Adds a group to the system" \ |
| 18 | "Options:\n" \ | 18 | "\n\nOptions:\n" \ |
| 19 | " -g GID specify gid" | 19 | " -g GID specify gid" |
| 20 | 20 | ||
| 21 | #define adduser_trivial_usage \ | 21 | #define adduser_trivial_usage \ |
| 22 | "[OPTIONS] user_name" | 22 | "[OPTIONS] user_name" |
| 23 | #define adduser_full_usage \ | 23 | #define adduser_full_usage \ |
| 24 | "Adds a user to the system\n\n" \ | 24 | "Adds a user to the system" \ |
| 25 | "Options:\n" \ | 25 | "\n\nOptions:\n" \ |
| 26 | " -h DIR Assign home directory DIR\n" \ | 26 | " -h DIR Assign home directory DIR\n" \ |
| 27 | " -g GECOS Assign gecos field GECOS\n" \ | 27 | " -g GECOS Assign gecos field GECOS\n" \ |
| 28 | " -s SHELL Assign login shell SHELL\n" \ | 28 | " -s SHELL Assign login shell SHELL\n" \ |
| @@ -35,8 +35,8 @@ | |||
| 35 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" | 35 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" |
| 36 | #define adjtimex_full_usage \ | 36 | #define adjtimex_full_usage \ |
| 37 | "Reads and optionally sets system timebase parameters.\n" \ | 37 | "Reads and optionally sets system timebase parameters.\n" \ |
| 38 | "See adjtimex(2).\n\n" \ | 38 | "See adjtimex(2)." \ |
| 39 | "Options:\n" \ | 39 | "\n\nOptions:\n" \ |
| 40 | " -q quiet mode - do not print\n" \ | 40 | " -q quiet mode - do not print\n" \ |
| 41 | " -o offset time offset, microseconds\n" \ | 41 | " -o offset time offset, microseconds\n" \ |
| 42 | " -f frequency frequency adjust, integer kernel units (65536 is 1ppm)\n" \ | 42 | " -f frequency frequency adjust, integer kernel units (65536 is 1ppm)\n" \ |
| @@ -47,19 +47,19 @@ | |||
| 47 | #define ar_trivial_usage \ | 47 | #define ar_trivial_usage \ |
| 48 | "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" | 48 | "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" |
| 49 | #define ar_full_usage \ | 49 | #define ar_full_usage \ |
| 50 | "Extract or list FILES from an ar archive.\n\n" \ | 50 | "Extract or list FILES from an ar archive" \ |
| 51 | "Options:\n" \ | 51 | "\n\nOptions:\n" \ |
| 52 | " -o preserve original dates\n" \ | 52 | " -o preserve original dates\n" \ |
| 53 | " -p extract to stdout\n" \ | 53 | " -p extract to stdout\n" \ |
| 54 | " -t list\n" \ | 54 | " -t list\n" \ |
| 55 | " -x extract\n" \ | 55 | " -x extract\n" \ |
| 56 | " -v verbosely list files processed" | 56 | " -v verbosely list files processed" |
| 57 | 57 | ||
| 58 | #define arping_trivial_usage \ | 58 | #define arping_trivial_usage \ |
| 59 | "[-fqbDUA] [-c count] [-w timeout] [-i device] [-s sender] target" | 59 | "[-fqbDUA] [-c count] [-w timeout] [-i device] [-s sender] target" |
| 60 | #define arping_full_usage \ | 60 | #define arping_full_usage \ |
| 61 | "Ping hosts by ARP requests/replies.\n\n" \ | 61 | "Ping hosts by ARP requests/replies" \ |
| 62 | "Options:\n" \ | 62 | "\n\nOptions:\n" \ |
| 63 | " -f Quit on first ARP reply\n" \ | 63 | " -f Quit on first ARP reply\n" \ |
| 64 | " -q Be quiet\n" \ | 64 | " -q Be quiet\n" \ |
| 65 | " -b Keep broadcasting, don't go unicast\n" \ | 65 | " -b Keep broadcasting, don't go unicast\n" \ |
| @@ -102,8 +102,8 @@ | |||
| 102 | #define bunzip2_trivial_usage \ | 102 | #define bunzip2_trivial_usage \ |
| 103 | "[OPTION]... [FILE]" | 103 | "[OPTION]... [FILE]" |
| 104 | #define bunzip2_full_usage \ | 104 | #define bunzip2_full_usage \ |
| 105 | "Uncompress FILE (or standard input if FILE is '-' or omitted).\n\n" \ | 105 | "Uncompress FILE (or standard input if FILE is '-' or omitted)" \ |
| 106 | "Options:\n" \ | 106 | "\n\nOptions:\n" \ |
| 107 | " -c Write output to standard output\n" \ | 107 | " -c Write output to standard output\n" \ |
| 108 | " -f Force" | 108 | " -f Force" |
| 109 | 109 | ||
| @@ -118,8 +118,8 @@ | |||
| 118 | #define unlzma_trivial_usage \ | 118 | #define unlzma_trivial_usage \ |
| 119 | "[OPTION]... [FILE]" | 119 | "[OPTION]... [FILE]" |
| 120 | #define unlzma_full_usage \ | 120 | #define unlzma_full_usage \ |
| 121 | "Uncompress FILE (or standard input if FILE is '-' or omitted).\n\n" \ | 121 | "Uncompress FILE (or standard input if FILE is '-' or omitted)" \ |
| 122 | "Options:\n" \ | 122 | "\n\nOptions:\n" \ |
| 123 | " -c Write output to standard output\n" \ | 123 | " -c Write output to standard output\n" \ |
| 124 | " -f Force" | 124 | " -f Force" |
| 125 | 125 | ||
| @@ -131,16 +131,16 @@ | |||
| 131 | #define cal_trivial_usage \ | 131 | #define cal_trivial_usage \ |
| 132 | "[-jy] [[month] year]" | 132 | "[-jy] [[month] year]" |
| 133 | #define cal_full_usage \ | 133 | #define cal_full_usage \ |
| 134 | "Display a calendar.\n" \ | 134 | "Display a calendar" \ |
| 135 | "\nOptions:\n" \ | 135 | "\n\nOptions:\n" \ |
| 136 | " -j Use julian dates\n" \ | 136 | " -j Use julian dates\n" \ |
| 137 | " -y Display the entire year" | 137 | " -y Display the entire year" |
| 138 | 138 | ||
| 139 | #define cat_trivial_usage \ | 139 | #define cat_trivial_usage \ |
| 140 | "[-u] [FILE]..." | 140 | "[-u] [FILE]..." |
| 141 | #define cat_full_usage \ | 141 | #define cat_full_usage \ |
| 142 | "Concatenates FILE(s) and prints them to stdout.\n\n" \ | 142 | "Concatenates FILE(s) and prints them to stdout" \ |
| 143 | "Options:\n" \ | 143 | "\n\nOptions:\n" \ |
| 144 | " -u ignored since unbuffered i/o is always used" | 144 | " -u ignored since unbuffered i/o is always used" |
| 145 | #define cat_example_usage \ | 145 | #define cat_example_usage \ |
| 146 | "$ cat /proc/uptime\n" \ | 146 | "$ cat /proc/uptime\n" \ |
| @@ -149,7 +149,8 @@ | |||
| 149 | #define catv_trivial_usage \ | 149 | #define catv_trivial_usage \ |
| 150 | "[-etv] [FILE]..." | 150 | "[-etv] [FILE]..." |
| 151 | #define catv_full_usage \ | 151 | #define catv_full_usage \ |
| 152 | "Display nonprinting characters as ^x or M-x.\n\n"\ | 152 | "Display nonprinting characters as ^x or M-x" \ |
| 153 | "\n\nOptions:\n" \ | ||
| 153 | " -e End each line with $\n" \ | 154 | " -e End each line with $\n" \ |
| 154 | " -t Show tabs as ^I\n" \ | 155 | " -t Show tabs as ^I\n" \ |
| 155 | " -v Don't use ^x or M-x escapes." | 156 | " -v Don't use ^x or M-x escapes." |
| @@ -173,15 +174,15 @@ | |||
| 173 | " S write file contents synchronously\n" \ | 174 | " S write file contents synchronously\n" \ |
| 174 | " t disable tail-merging of partial blocks with other files\n" \ | 175 | " t disable tail-merging of partial blocks with other files\n" \ |
| 175 | " u allow file to be undeleted\n" \ | 176 | " u allow file to be undeleted\n" \ |
| 176 | "Options:\n" \ | 177 | " Options:\n" \ |
| 177 | " -R recursively list subdirectories\n" \ | 178 | " -R recursively list subdirectories\n" \ |
| 178 | " -v set the file's version/generation number" | 179 | " -v set the file's version/generation number" |
| 179 | 180 | ||
| 180 | #define chgrp_trivial_usage \ | 181 | #define chgrp_trivial_usage \ |
| 181 | "[-Rh"USE_DESKTOP("cvf")"]... GROUP FILE..." | 182 | "[-Rh"USE_DESKTOP("cvf")"]... GROUP FILE..." |
| 182 | #define chgrp_full_usage \ | 183 | #define chgrp_full_usage \ |
| 183 | "Change the group membership of each FILE to GROUP.\n" \ | 184 | "Change the group membership of each FILE to GROUP" \ |
| 184 | "\nOptions:\n" \ | 185 | "\n\nOptions:\n" \ |
| 185 | " -R Changes files and directories recursively\n" \ | 186 | " -R Changes files and directories recursively\n" \ |
| 186 | " -h Do not dereference symbolic links" \ | 187 | " -h Do not dereference symbolic links" \ |
| 187 | USE_DESKTOP( \ | 188 | USE_DESKTOP( \ |
| @@ -200,9 +201,9 @@ | |||
| 200 | "[-R"USE_DESKTOP("cvf")"] MODE[,MODE]... FILE..." | 201 | "[-R"USE_DESKTOP("cvf")"] MODE[,MODE]... FILE..." |
| 201 | #define chmod_full_usage \ | 202 | #define chmod_full_usage \ |
| 202 | "Each MODE is one or more of the letters ugoa, one of the\n" \ | 203 | "Each MODE is one or more of the letters ugoa, one of the\n" \ |
| 203 | "symbols +-= and one or more of the letters rwxst.\n\n" \ | 204 | "symbols +-= and one or more of the letters rwxst" \ |
| 204 | "Options:\n" \ | 205 | "\n\nOptions:" \ |
| 205 | " -R Changes files and directories recursively" \ | 206 | "\n -R Changes files and directories recursively" \ |
| 206 | USE_DESKTOP( \ | 207 | USE_DESKTOP( \ |
| 207 | "\n -c List changed files" \ | 208 | "\n -c List changed files" \ |
| 208 | "\n -v List all files" \ | 209 | "\n -v List all files" \ |
| @@ -221,10 +222,10 @@ | |||
| 221 | #define chown_trivial_usage \ | 222 | #define chown_trivial_usage \ |
| 222 | "[-Rh"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." | 223 | "[-Rh"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." |
| 223 | #define chown_full_usage \ | 224 | #define chown_full_usage \ |
| 224 | "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \ | 225 | "Change the owner and/or group of each FILE to OWNER and/or GROUP" \ |
| 225 | "\nOptions:\n" \ | 226 | "\n\nOptions:" \ |
| 226 | " -R Changes files and directories recursively\n" \ | 227 | "\n -R Changes files and directories recursively" \ |
| 227 | " -h Do not dereference symbolic links" \ | 228 | "\n -h Do not dereference symbolic links" \ |
| 228 | USE_DESKTOP( \ | 229 | USE_DESKTOP( \ |
| 229 | "\n -c List changed files" \ | 230 | "\n -c List changed files" \ |
| 230 | "\n -v List all files" \ | 231 | "\n -v List all files" \ |
| @@ -245,7 +246,8 @@ | |||
| 245 | "[-/ dir] [-n nice] [-m bytes] [-d bytes] [-o files] " \ | 246 | "[-/ dir] [-n nice] [-m bytes] [-d bytes] [-o files] " \ |
| 246 | "[-p processes] [-f bytes] [-c bytes] prog args" | 247 | "[-p processes] [-f bytes] [-c bytes] prog args" |
| 247 | #define chpst_full_usage \ | 248 | #define chpst_full_usage \ |
| 248 | "Change the process state and run specified program.\n\n" \ | 249 | "Change the process state and run specified program" \ |
| 250 | "\n\nOptions:\n" \ | ||
| 249 | " -u user[:grp] set uid and gid\n" \ | 251 | " -u user[:grp] set uid and gid\n" \ |
| 250 | " -U user[:grp] set environment variables UID and GID\n" \ | 252 | " -U user[:grp] set environment variables UID and GID\n" \ |
| 251 | " -e dir set environment variables as specified by files\n" \ | 253 | " -e dir set environment variables as specified by files\n" \ |
| @@ -334,8 +336,8 @@ | |||
| 334 | #define cmp_trivial_usage \ | 336 | #define cmp_trivial_usage \ |
| 335 | "[-l] [-s] FILE1 [FILE2]" | 337 | "[-l] [-s] FILE1 [FILE2]" |
| 336 | #define cmp_full_usage \ | 338 | #define cmp_full_usage \ |
| 337 | "Compares FILE1 vs stdin if FILE2 is not specified.\n\n" \ | 339 | "Compares FILE1 vs stdin if FILE2 is not specified" \ |
| 338 | "Options:\n" \ | 340 | "\n\nOptions:\n" \ |
| 339 | " -l Write the byte numbers (decimal) and values (octal)\n" \ | 341 | " -l Write the byte numbers (decimal) and values (octal)\n" \ |
| 340 | " for all differing bytes\n" \ | 342 | " for all differing bytes\n" \ |
| 341 | " -s quiet mode - do not print" | 343 | " -s quiet mode - do not print" |
| @@ -343,8 +345,8 @@ | |||
| 343 | #define comm_trivial_usage \ | 345 | #define comm_trivial_usage \ |
| 344 | "[-123] FILE1 FILE2" | 346 | "[-123] FILE1 FILE2" |
| 345 | #define comm_full_usage \ | 347 | #define comm_full_usage \ |
| 346 | "Compares FILE1 to FILE2, or to stdin if = is specified.\n\n" \ | 348 | "Compares FILE1 to FILE2, or to stdin if = is specified" \ |
| 347 | "Options:\n" \ | 349 | "\n\nOptions:\n" \ |
| 348 | " -1 Suppress lines unique to FILE1\n" \ | 350 | " -1 Suppress lines unique to FILE1\n" \ |
| 349 | " -2 Suppress lines unique to FILE2\n" \ | 351 | " -2 Suppress lines unique to FILE2\n" \ |
| 350 | " -3 Suppress lines common to both files" | 352 | " -3 Suppress lines common to both files" |
| @@ -414,8 +416,8 @@ | |||
| 414 | #define cut_trivial_usage \ | 416 | #define cut_trivial_usage \ |
| 415 | "[OPTION]... [FILE]..." | 417 | "[OPTION]... [FILE]..." |
| 416 | #define cut_full_usage \ | 418 | #define cut_full_usage \ |
| 417 | "Prints selected fields from each input FILE to standard output.\n\n" \ | 419 | "Prints selected fields from each input FILE to standard output" \ |
| 418 | "Options:\n" \ | 420 | "\n\nOptions:\n" \ |
| 419 | " -b LIST Output only bytes from LIST\n" \ | 421 | " -b LIST Output only bytes from LIST\n" \ |
| 420 | " -c LIST Output only characters from LIST\n" \ | 422 | " -c LIST Output only characters from LIST\n" \ |
| 421 | " -d CHAR Use CHAR instead of tab as the field delimiter\n" \ | 423 | " -d CHAR Use CHAR instead of tab as the field delimiter\n" \ |
| @@ -431,8 +433,8 @@ | |||
| 431 | #define date_trivial_usage \ | 433 | #define date_trivial_usage \ |
| 432 | "[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]" | 434 | "[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]" |
| 433 | #define date_full_usage \ | 435 | #define date_full_usage \ |
| 434 | "Displays the current time in the given FORMAT, or sets the system date.\n" \ | 436 | "Displays the current time in the given FORMAT, or sets the system date" \ |
| 435 | "\nOptions:\n" \ | 437 | "\n\nOptions:\n" \ |
| 436 | " -R Outputs RFC-822 compliant date string\n" \ | 438 | " -R Outputs RFC-822 compliant date string\n" \ |
| 437 | " -d STRING Displays time described by STRING, not 'now'\n" \ | 439 | " -d STRING Displays time described by STRING, not 'now'\n" \ |
| 438 | USE_FEATURE_DATE_ISOFMT( \ | 440 | USE_FEATURE_DATE_ISOFMT( \ |
| @@ -455,8 +457,8 @@ | |||
| 455 | "This is a Tiny RPN calculator that understands the\n" \ | 457 | "This is a Tiny RPN calculator that understands the\n" \ |
| 456 | "following operations: +, add, -, sub, *, mul, /, div, %, mod, " \ | 458 | "following operations: +, add, -, sub, *, mul, /, div, %, mod, " \ |
| 457 | "**, exp, and, or, not, eor.\n" \ | 459 | "**, exp, and, or, not, eor.\n" \ |
| 458 | "For example: 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16.\n" \ | 460 | "For example: 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16." \ |
| 459 | "\nOptions:\n" \ | 461 | "\n\nOptions:\n" \ |
| 460 | "p - Prints the value on the top of the stack, without altering the stack\n" \ | 462 | "p - Prints the value on the top of the stack, without altering the stack\n" \ |
| 461 | "f - Prints the entire contents of the stack without altering anything\n" \ | 463 | "f - Prints the entire contents of the stack without altering anything\n" \ |
| 462 | "o - Pops the value off the top of the stack and uses it to set the output radix\n" \ | 464 | "o - Pops the value off the top of the stack and uses it to set the output radix\n" \ |
| @@ -477,7 +479,8 @@ | |||
| 477 | "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ | 479 | "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
| 478 | " [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]") | 480 | " [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]") |
| 479 | #define dd_full_usage \ | 481 | #define dd_full_usage \ |
| 480 | "Copy a file, converting and formatting according to options\n\n" \ | 482 | "Copy a file with converting and formatting" \ |
| 483 | "\n\nOptions:\n" \ | ||
| 481 | " if=FILE read from FILE instead of stdin\n" \ | 484 | " if=FILE read from FILE instead of stdin\n" \ |
| 482 | " of=FILE write to FILE instead of stdout\n" \ | 485 | " of=FILE write to FILE instead of stdout\n" \ |
| 483 | " bs=N read and write N bytes at a time\n" \ | 486 | " bs=N read and write N bytes at a time\n" \ |
| @@ -519,8 +522,8 @@ | |||
| 519 | "mntpnt [-v]" \ | 522 | "mntpnt [-v]" \ |
| 520 | USE_DEVFSD_FG_NP("[-fg][-np]" ) | 523 | USE_DEVFSD_FG_NP("[-fg][-np]" ) |
| 521 | #define devfsd_full_usage \ | 524 | #define devfsd_full_usage \ |
| 522 | "Optional daemon for managing devfs permissions and old device name symlinks.\n" \ | 525 | "Optional daemon for managing devfs permissions and old device name symlinks" \ |
| 523 | "\nOptions:" \ | 526 | "\n\nOptions:" \ |
| 524 | "\n mntpnt The mount point where devfs is mounted." \ | 527 | "\n mntpnt The mount point where devfs is mounted." \ |
| 525 | "\n -v Print the protocol version numbers for devfsd." \ | 528 | "\n -v Print the protocol version numbers for devfsd." \ |
| 526 | "\n and the kernel-side protocol version and exits." \ | 529 | "\n and the kernel-side protocol version and exits." \ |
| @@ -533,8 +536,8 @@ | |||
| 533 | #define df_trivial_usage \ | 536 | #define df_trivial_usage \ |
| 534 | "[-" USE_FEATURE_HUMAN_READABLE("hm") "k] [FILESYSTEM ...]" | 537 | "[-" USE_FEATURE_HUMAN_READABLE("hm") "k] [FILESYSTEM ...]" |
| 535 | #define df_full_usage \ | 538 | #define df_full_usage \ |
| 536 | "Print the filesystem space used and space available.\n\n" \ | 539 | "Print the filesystem space used and space available" \ |
| 537 | "Options:\n" \ | 540 | "\n\nOptions:\n" \ |
| 538 | USE_FEATURE_HUMAN_READABLE( \ | 541 | USE_FEATURE_HUMAN_READABLE( \ |
| 539 | "\n -h print sizes in human readable format (e.g., 1K 243M 2G )\n" \ | 542 | "\n -h print sizes in human readable format (e.g., 1K 243M 2G )\n" \ |
| 540 | " -m print sizes in megabytes\n" \ | 543 | " -m print sizes in megabytes\n" \ |
| @@ -564,8 +567,8 @@ | |||
| 564 | "[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" | 567 | "[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" |
| 565 | #define diff_full_usage \ | 568 | #define diff_full_usage \ |
| 566 | "Compare files line by line and output the differences between them.\n" \ | 569 | "Compare files line by line and output the differences between them.\n" \ |
| 567 | "This diff implementation only supports unified diffs.\n\n" \ | 570 | "This diff implementation only supports unified diffs." \ |
| 568 | "Options:\n" \ | 571 | "\n\nOptions:\n" \ |
| 569 | " -a Treat all files as text\n" \ | 572 | " -a Treat all files as text\n" \ |
| 570 | " -b Ignore changes in the amount of whitespace\n" \ | 573 | " -b Ignore changes in the amount of whitespace\n" \ |
| 571 | " -d Try hard to find a smaller set of changes\n" \ | 574 | " -d Try hard to find a smaller set of changes\n" \ |
| @@ -594,8 +597,8 @@ | |||
| 594 | #define dmesg_trivial_usage \ | 597 | #define dmesg_trivial_usage \ |
| 595 | "[-c] [-n LEVEL] [-s SIZE]" | 598 | "[-c] [-n LEVEL] [-s SIZE]" |
| 596 | #define dmesg_full_usage \ | 599 | #define dmesg_full_usage \ |
| 597 | "Prints or controls the kernel ring buffer\n\n" \ | 600 | "Prints or controls the kernel ring buffer" \ |
| 598 | "Options:\n" \ | 601 | "\n\nOptions:\n" \ |
| 599 | " -c Clears the ring buffer's contents after printing\n" \ | 602 | " -c Clears the ring buffer's contents after printing\n" \ |
| 600 | " -n LEVEL Sets console logging level\n" \ | 603 | " -n LEVEL Sets console logging level\n" \ |
| 601 | " -s SIZE Use a buffer of size SIZE" | 604 | " -s SIZE Use a buffer of size SIZE" |
| @@ -603,8 +606,8 @@ | |||
| 603 | #define dnsd_trivial_usage \ | 606 | #define dnsd_trivial_usage \ |
| 604 | "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" | 607 | "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" |
| 605 | #define dnsd_full_usage \ | 608 | #define dnsd_full_usage \ |
| 606 | "Small and static DNS server daemon\n\n" \ | 609 | "Small and static DNS server daemon" \ |
| 607 | "Options:\n" \ | 610 | "\n\nOptions:\n" \ |
| 608 | " -c config filename\n" \ | 611 | " -c config filename\n" \ |
| 609 | " -t TTL in seconds\n" \ | 612 | " -t TTL in seconds\n" \ |
| 610 | " -p listening port\n" \ | 613 | " -p listening port\n" \ |
| @@ -616,16 +619,16 @@ | |||
| 616 | #define dos2unix_full_usage \ | 619 | #define dos2unix_full_usage \ |
| 617 | "Converts FILE from dos format to unix format. When no option\n" \ | 620 | "Converts FILE from dos format to unix format. When no option\n" \ |
| 618 | "is given, the input is converted to the opposite output format.\n" \ | 621 | "is given, the input is converted to the opposite output format.\n" \ |
| 619 | "When no file is given, uses stdin for input and stdout for output.\n\n" \ | 622 | "When no file is given, uses stdin for input and stdout for output." \ |
| 620 | "Options:\n" \ | 623 | "\n\nOptions:\n" \ |
| 621 | " -u output will be in UNIX format\n" \ | 624 | " -u output will be in UNIX format\n" \ |
| 622 | " -d output will be in DOS format" | 625 | " -d output will be in DOS format" |
| 623 | 626 | ||
| 624 | #define dpkg_trivial_usage \ | 627 | #define dpkg_trivial_usage \ |
| 625 | "[-ilCPru] [-F option] package_name" | 628 | "[-ilCPru] [-F option] package_name" |
| 626 | #define dpkg_full_usage \ | 629 | #define dpkg_full_usage \ |
| 627 | "dpkg is a utility to install, remove and manage Debian packages.\n\n" \ | 630 | "Install, remove and manage Debian packages" \ |
| 628 | "Options:\n" \ | 631 | "\n\nOptions:\n" \ |
| 629 | " -i Install the package\n" \ | 632 | " -i Install the package\n" \ |
| 630 | " -l List of installed packages\n" \ | 633 | " -l List of installed packages\n" \ |
| 631 | " -C Configure an unpackaged package\n" \ | 634 | " -C Configure an unpackaged package\n" \ |
| @@ -637,8 +640,8 @@ | |||
| 637 | #define dpkg_deb_trivial_usage \ | 640 | #define dpkg_deb_trivial_usage \ |
| 638 | "[-cefxX] FILE [argument]" | 641 | "[-cefxX] FILE [argument]" |
| 639 | #define dpkg_deb_full_usage \ | 642 | #define dpkg_deb_full_usage \ |
| 640 | "Perform actions on Debian packages (.debs)\n\n" \ | 643 | "Perform actions on Debian packages (.debs)" \ |
| 641 | "Options:\n" \ | 644 | "\n\nOptions:\n" \ |
| 642 | " -c List contents of filesystem tree\n" \ | 645 | " -c List contents of filesystem tree\n" \ |
| 643 | " -e Extract control files to [argument] directory\n" \ | 646 | " -e Extract control files to [argument] directory\n" \ |
| 644 | " -f Display control field name starting with [argument]\n" \ | 647 | " -f Display control field name starting with [argument]\n" \ |
| @@ -654,8 +657,8 @@ | |||
| 654 | "Disk space is printed in units of " \ | 657 | "Disk space is printed in units of " \ |
| 655 | USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ | 658 | USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ |
| 656 | SKIP_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ | 659 | SKIP_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ |
| 657 | " bytes.\n\n" \ | 660 | " bytes." \ |
| 658 | "Options:\n" \ | 661 | "\n\nOptions:\n" \ |
| 659 | " -a show sizes of files in addition to directories\n" \ | 662 | " -a show sizes of files in addition to directories\n" \ |
| 660 | " -H follow symbolic links that are FILE command line args\n" \ | 663 | " -H follow symbolic links that are FILE command line args\n" \ |
| 661 | " -L follow all symbolic links encountered\n" \ | 664 | " -L follow all symbolic links encountered\n" \ |
| @@ -693,8 +696,8 @@ | |||
| 693 | #define dumpleases_trivial_usage \ | 696 | #define dumpleases_trivial_usage \ |
| 694 | "[-r|-a] [-f LEASEFILE]" | 697 | "[-r|-a] [-f LEASEFILE]" |
| 695 | #define dumpleases_full_usage \ | 698 | #define dumpleases_full_usage \ |
| 696 | "Displays the DHCP leases granted by udhcpd.\n\n" \ | 699 | "Display DHCP leases granted by udhcpd" \ |
| 697 | "Options:\n" \ | 700 | "\n\nOptions:\n" \ |
| 698 | " -f, --file=FILENAME Leases file to load\n" \ | 701 | " -f, --file=FILENAME Leases file to load\n" \ |
| 699 | " -r, --remaining Interpret lease times as time remaining\n" \ | 702 | " -r, --remaining Interpret lease times as time remaining\n" \ |
| 700 | " -a, --absolute Interpret lease times as expire time" | 703 | " -a, --absolute Interpret lease times as expire time" |
| @@ -705,8 +708,8 @@ | |||
| 705 | "[-l|-L bad_blocks_file] [-C fd] [-j external_journal] " \ | 708 | "[-l|-L bad_blocks_file] [-C fd] [-j external_journal] " \ |
| 706 | "[-E extended-options] device" | 709 | "[-E extended-options] device" |
| 707 | #define e2fsck_full_usage \ | 710 | #define e2fsck_full_usage \ |
| 708 | "Check a Linux ext2/ext3 file system.\n\n" \ | 711 | "Check ext2/ext3 file system" \ |
| 709 | "Options:\n" \ | 712 | "\n\nOptions:\n" \ |
| 710 | " -p Automatic repair (no questions)\n" \ | 713 | " -p Automatic repair (no questions)\n" \ |
| 711 | " -n Make no changes to the filesystem\n" \ | 714 | " -n Make no changes to the filesystem\n" \ |
| 712 | " -y Assume 'yes' to all questions\n" \ | 715 | " -y Assume 'yes' to all questions\n" \ |
| @@ -722,9 +725,9 @@ | |||
| 722 | #define echo_trivial_usage \ | 725 | #define echo_trivial_usage \ |
| 723 | USE_FEATURE_FANCY_ECHO("[-neE] ") "[ARG ...]" | 726 | USE_FEATURE_FANCY_ECHO("[-neE] ") "[ARG ...]" |
| 724 | #define echo_full_usage \ | 727 | #define echo_full_usage \ |
| 725 | "Prints the specified ARGs to stdout\n\n" \ | 728 | "Print the specified ARGs to stdout" \ |
| 726 | USE_FEATURE_FANCY_ECHO( \ | 729 | USE_FEATURE_FANCY_ECHO( \ |
| 727 | "Options:\n" \ | 730 | "\n\nOptions:\n" \ |
| 728 | " -n suppress trailing newline\n" \ | 731 | " -n suppress trailing newline\n" \ |
| 729 | " -e interpret backslash-escaped characters (i.e., \\t=tab)\n" \ | 732 | " -e interpret backslash-escaped characters (i.e., \\t=tab)\n" \ |
| 730 | " -E disable interpretation of backslash-escaped characters" \ | 733 | " -E disable interpretation of backslash-escaped characters" \ |
| @@ -742,8 +745,8 @@ | |||
| 742 | #define eject_trivial_usage \ | 745 | #define eject_trivial_usage \ |
| 743 | "[-t] [-T] [DEVICE]" | 746 | "[-t] [-T] [DEVICE]" |
| 744 | #define eject_full_usage \ | 747 | #define eject_full_usage \ |
| 745 | "Eject specified DEVICE (or default /dev/cdrom).\n\n" \ | 748 | "Eject specified DEVICE (or default /dev/cdrom)" \ |
| 746 | "Options:\n" \ | 749 | "\n\nOptions:\n" \ |
| 747 | " -t close tray\n" \ | 750 | " -t close tray\n" \ |
| 748 | " -T open/close tray (toggle)" | 751 | " -T open/close tray (toggle)" |
| 749 | 752 | ||
| @@ -753,9 +756,9 @@ | |||
| 753 | #define env_trivial_usage \ | 756 | #define env_trivial_usage \ |
| 754 | "[-iu] [-] [name=value]... [command]" | 757 | "[-iu] [-] [name=value]... [command]" |
| 755 | #define env_full_usage \ | 758 | #define env_full_usage \ |
| 756 | "Prints the current environment or runs a program after setting\n" \ | 759 | "Print the current environment or runs a program after setting\n" \ |
| 757 | "up the specified environment.\n\n" \ | 760 | "up the specified environment" \ |
| 758 | "Options:\n" \ | 761 | "\n\nOptions:\n" \ |
| 759 | " -, -i start with an empty environment\n" \ | 762 | " -, -i start with an empty environment\n" \ |
| 760 | " -u remove variable from the environment" | 763 | " -u remove variable from the environment" |
| 761 | 764 | ||
| @@ -764,8 +767,8 @@ | |||
| 764 | #define ether_wake_full_usage \ | 767 | #define ether_wake_full_usage \ |
| 765 | "Send a magic packet to wake up sleeping machines.\n" \ | 768 | "Send a magic packet to wake up sleeping machines.\n" \ |
| 766 | "MAC must be a station address (00:11:22:33:44:55) or\n" \ | 769 | "MAC must be a station address (00:11:22:33:44:55) or\n" \ |
| 767 | " a hostname with a known 'ethers' entry.\n\n" \ | 770 | "a hostname with a known 'ethers' entry." \ |
| 768 | "Options:\n" \ | 771 | "\n\nOptions:\n" \ |
| 769 | " -b Send wake-up packet to the broadcast address\n" \ | 772 | " -b Send wake-up packet to the broadcast address\n" \ |
| 770 | " -i iface Use interface ifname instead of the default \"eth0\"\n" \ | 773 | " -i iface Use interface ifname instead of the default \"eth0\"\n" \ |
| 771 | " -p pass Append the four or six byte password PW to the packet" | 774 | " -p pass Append the four or six byte password PW to the packet" |
| @@ -806,7 +809,8 @@ | |||
| 806 | #define fakeidentd_trivial_usage \ | 809 | #define fakeidentd_trivial_usage \ |
| 807 | "[-b ip] [STRING]" | 810 | "[-b ip] [STRING]" |
| 808 | #define fakeidentd_full_usage \ | 811 | #define fakeidentd_full_usage \ |
| 809 | "Returns a set string to auth requests\n\n" \ | 812 | "Returns a set string to auth requests" \ |
| 813 | "\n\nOptions:\n" \ | ||
| 810 | " -b Bind to ip address\n" \ | 814 | " -b Bind to ip address\n" \ |
| 811 | " STRING The ident answer string (default is nobody)" | 815 | " STRING The ident answer string (default is nobody)" |
| 812 | 816 | ||
| @@ -841,15 +845,15 @@ | |||
| 841 | #define fdformat_trivial_usage \ | 845 | #define fdformat_trivial_usage \ |
| 842 | "[-n] DEVICE" | 846 | "[-n] DEVICE" |
| 843 | #define fdformat_full_usage \ | 847 | #define fdformat_full_usage \ |
| 844 | "Low-level formats a floppy disk\n\n" \ | 848 | "Low-level formats a floppy disk" \ |
| 845 | "Options:\n" \ | 849 | "\n\nOptions:\n" \ |
| 846 | " -n Don't verify after format" | 850 | " -n Don't verify after format" |
| 847 | 851 | ||
| 848 | #define fdisk_trivial_usage \ | 852 | #define fdisk_trivial_usage \ |
| 849 | "[-luv] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK" | 853 | "[-luv] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK" |
| 850 | #define fdisk_full_usage \ | 854 | #define fdisk_full_usage \ |
| 851 | "Change partition table\n" \ | 855 | "Change partition table" \ |
| 852 | "Options:\n" \ | 856 | "\n\nOptions:\n" \ |
| 853 | " -l List partition table(s)\n" \ | 857 | " -l List partition table(s)\n" \ |
| 854 | " -u Give Start and End in sector (instead of cylinder) units\n" \ | 858 | " -u Give Start and End in sector (instead of cylinder) units\n" \ |
| 855 | " -s PARTITION Give partition size(s) in blocks\n" \ | 859 | " -s PARTITION Give partition size(s) in blocks\n" \ |
| @@ -903,8 +907,8 @@ | |||
| 903 | "[-bs] [-w WIDTH] [FILE]" | 907 | "[-bs] [-w WIDTH] [FILE]" |
| 904 | #define fold_full_usage \ | 908 | #define fold_full_usage \ |
| 905 | "Wrap input lines in each FILE (standard input by default), writing to\n" \ | 909 | "Wrap input lines in each FILE (standard input by default), writing to\n" \ |
| 906 | "standard output.\n\n" \ | 910 | "standard output" \ |
| 907 | "Options:\n" \ | 911 | "\n\nOptions:\n" \ |
| 908 | " -b count bytes rather than columns\n" \ | 912 | " -b count bytes rather than columns\n" \ |
| 909 | " -s break at spaces\n" \ | 913 | " -s break at spaces\n" \ |
| 910 | " -w use WIDTH columns instead of 80" | 914 | " -w use WIDTH columns instead of 80" |
| @@ -930,8 +934,8 @@ | |||
| 930 | #define fsck_trivial_usage \ | 934 | #define fsck_trivial_usage \ |
| 931 | "[-ANPRTV] [ -C [ fd ] ] [-t fstype] [fs-options] [filesys ...]" | 935 | "[-ANPRTV] [ -C [ fd ] ] [-t fstype] [fs-options] [filesys ...]" |
| 932 | #define fsck_full_usage \ | 936 | #define fsck_full_usage \ |
| 933 | "Check and repair filesystems.\n\n" \ | 937 | "Check and repair filesystems" \ |
| 934 | "Options:\n" \ | 938 | "\n\nOptions:\n" \ |
| 935 | " -A Walk /etc/fstab and check all filesystems\n" \ | 939 | " -A Walk /etc/fstab and check all filesystems\n" \ |
| 936 | " -N Don't execute, just show what would be done\n" \ | 940 | " -N Don't execute, just show what would be done\n" \ |
| 937 | " -P When using -A, check filesystems in parallel\n" \ | 941 | " -P When using -A, check filesystems in parallel\n" \ |
| @@ -944,8 +948,8 @@ | |||
| 944 | #define fsck_minix_trivial_usage \ | 948 | #define fsck_minix_trivial_usage \ |
| 945 | "[-larvsmf] /dev/name" | 949 | "[-larvsmf] /dev/name" |
| 946 | #define fsck_minix_full_usage \ | 950 | #define fsck_minix_full_usage \ |
| 947 | "Performs a consistency check for MINIX filesystems.\n\n" \ | 951 | "Performs a consistency check for MINIX filesystems" \ |
| 948 | "Options:\n" \ | 952 | "\n\nOptions:\n" \ |
| 949 | " -l Lists all filenames\n" \ | 953 | " -l Lists all filenames\n" \ |
| 950 | " -r Perform interactive repairs\n" \ | 954 | " -r Perform interactive repairs\n" \ |
| 951 | " -a Perform automatic repairs\n" \ | 955 | " -a Perform automatic repairs\n" \ |
| @@ -957,8 +961,8 @@ | |||
| 957 | #define ftpget_trivial_usage \ | 961 | #define ftpget_trivial_usage \ |
| 958 | "[options] remote-host local-file remote-file" | 962 | "[options] remote-host local-file remote-file" |
| 959 | #define ftpget_full_usage \ | 963 | #define ftpget_full_usage \ |
| 960 | "Retrieve a remote file via FTP.\n\n" \ | 964 | "Retrieve a remote file via FTP" \ |
| 961 | "Options:\n" \ | 965 | "\n\nOptions:\n" \ |
| 962 | " -c, --continue Continue a previous transfer\n" \ | 966 | " -c, --continue Continue a previous transfer\n" \ |
| 963 | " -v, --verbose Verbose\n" \ | 967 | " -v, --verbose Verbose\n" \ |
| 964 | " -u, --username Username to be used\n" \ | 968 | " -u, --username Username to be used\n" \ |
| @@ -968,8 +972,8 @@ | |||
| 968 | #define ftpput_trivial_usage \ | 972 | #define ftpput_trivial_usage \ |
| 969 | "[options] remote-host remote-file local-file" | 973 | "[options] remote-host remote-file local-file" |
| 970 | #define ftpput_full_usage \ | 974 | #define ftpput_full_usage \ |
| 971 | "Store a local file on a remote machine via FTP.\n\n" \ | 975 | "Store a local file on a remote machine via FTP" \ |
| 972 | "Options:\n" \ | 976 | "\n\nOptions:\n" \ |
| 973 | " -v, --verbose Verbose\n" \ | 977 | " -v, --verbose Verbose\n" \ |
| 974 | " -u, --username Username to be used\n" \ | 978 | " -u, --username Username to be used\n" \ |
| 975 | " -p, --password Password to be used\n" \ | 979 | " -p, --password Password to be used\n" \ |
| @@ -1023,8 +1027,8 @@ | |||
| 1023 | #define getty_trivial_usage \ | 1027 | #define getty_trivial_usage \ |
| 1024 | "[OPTIONS]... baud_rate,... line [termtype]" | 1028 | "[OPTIONS]... baud_rate,... line [termtype]" |
| 1025 | #define getty_full_usage \ | 1029 | #define getty_full_usage \ |
| 1026 | "Opens a tty, prompts for a login name, then invokes /bin/login\n\n" \ | 1030 | "Open a tty, prompt for a login name, then invoke /bin/login" \ |
| 1027 | "Options:\n" \ | 1031 | "\n\nOptions:\n" \ |
| 1028 | " -h Enable hardware (RTS/CTS) flow control\n" \ | 1032 | " -h Enable hardware (RTS/CTS) flow control\n" \ |
| 1029 | " -i Do not display /etc/issue before running login\n" \ | 1033 | " -i Do not display /etc/issue before running login\n" \ |
| 1030 | " -L Local line, so do not do carrier detect\n" \ | 1034 | " -L Local line, so do not do carrier detect\n" \ |
| @@ -1043,8 +1047,8 @@ | |||
| 1043 | USE_FEATURE_GREP_CONTEXT("ABC") \ | 1047 | USE_FEATURE_GREP_CONTEXT("ABC") \ |
| 1044 | "] PATTERN [FILEs...]" | 1048 | "] PATTERN [FILEs...]" |
| 1045 | #define grep_full_usage \ | 1049 | #define grep_full_usage \ |
| 1046 | "Search for PATTERN in each FILE or standard input.\n\n" \ | 1050 | "Search for PATTERN in each FILE or standard input" \ |
| 1047 | "Options:\n" \ | 1051 | "\n\nOptions:\n" \ |
| 1048 | " -H prefix output lines with filename where match was found\n" \ | 1052 | " -H prefix output lines with filename where match was found\n" \ |
| 1049 | " -h suppress the prefixing filename on output\n" \ | 1053 | " -h suppress the prefixing filename on output\n" \ |
| 1050 | " -r recurse subdirectories\n" \ | 1054 | " -r recurse subdirectories\n" \ |
| @@ -1078,8 +1082,8 @@ | |||
| 1078 | #define gunzip_trivial_usage \ | 1082 | #define gunzip_trivial_usage \ |
| 1079 | "[OPTION]... FILE" | 1083 | "[OPTION]... FILE" |
| 1080 | #define gunzip_full_usage \ | 1084 | #define gunzip_full_usage \ |
| 1081 | "Uncompress FILE (or standard input if FILE is '-').\n\n" \ | 1085 | "Uncompress FILE (or standard input if FILE is '-')" \ |
| 1082 | "Options:\n" \ | 1086 | "\n\nOptions:\n" \ |
| 1083 | " -c Write output to standard output\n" \ | 1087 | " -c Write output to standard output\n" \ |
| 1084 | " -f Force read when source is a terminal\n" \ | 1088 | " -f Force read when source is a terminal\n" \ |
| 1085 | " -t Test compressed file integrity" | 1089 | " -t Test compressed file integrity" |
| @@ -1094,8 +1098,8 @@ | |||
| 1094 | "[OPTION]... [FILE]..." | 1098 | "[OPTION]... [FILE]..." |
| 1095 | #define gzip_full_usage \ | 1099 | #define gzip_full_usage \ |
| 1096 | "Compress FILE(s) with maximum compression.\n" \ | 1100 | "Compress FILE(s) with maximum compression.\n" \ |
| 1097 | "When FILE is '-' or unspecified, reads standard input. Implies -c.\n\n" \ | 1101 | "When FILE is '-' or unspecified, reads standard input. Implies -c." \ |
| 1098 | "Options:\n" \ | 1102 | "\n\nOptions:\n" \ |
| 1099 | " -c Write output to standard output instead of FILE.gz\n" \ | 1103 | " -c Write output to standard output instead of FILE.gz\n" \ |
| 1100 | " -d Decompress\n" \ | 1104 | " -d Decompress\n" \ |
| 1101 | " -f Force write when destination is a terminal" | 1105 | " -f Force write when destination is a terminal" |
| @@ -1109,8 +1113,8 @@ | |||
| 1109 | #define halt_trivial_usage \ | 1113 | #define halt_trivial_usage \ |
| 1110 | "[-d<delay>] [-n<nosync>] [-f<force>]" | 1114 | "[-d<delay>] [-n<nosync>] [-f<force>]" |
| 1111 | #define halt_full_usage \ | 1115 | #define halt_full_usage \ |
| 1112 | "Halt the system.\n" \ | 1116 | "Halt the system" \ |
| 1113 | "Options:\n" \ | 1117 | "\n\nOptions:\n" \ |
| 1114 | " -d delay interval for halting\n" \ | 1118 | " -d delay interval for halting\n" \ |
| 1115 | " -n no call to sync()\n" \ | 1119 | " -n no call to sync()\n" \ |
| 1116 | " -f force halt (don't go through init)" | 1120 | " -f force halt (don't go through init)" |
| @@ -1119,62 +1123,62 @@ | |||
| 1119 | "[options] [device] .." | 1123 | "[options] [device] .." |
| 1120 | #define hdparm_full_usage \ | 1124 | #define hdparm_full_usage \ |
| 1121 | USE_FEATURE_HDPARM_GET_IDENTITY( \ | 1125 | USE_FEATURE_HDPARM_GET_IDENTITY( \ |
| 1122 | " If no device name is specified try to read from stdin.\n") \ | 1126 | "If no device name is specified try to read from stdin.\n\n") \ |
| 1123 | "\nOptions:\n" \ | 1127 | "Options:\n" \ |
| 1124 | " -a get/set fs readahead\n" \ | 1128 | " -a get/set fs readahead\n" \ |
| 1125 | " -A set drive read-lookahead flag (0/1)\n" \ | 1129 | " -A set drive read-lookahead flag (0/1)\n" \ |
| 1126 | " -b get/set bus state (0 == off, 1 == on, 2 == tristate)\n" \ | 1130 | " -b get/set bus state (0 == off, 1 == on, 2 == tristate)\n" \ |
| 1127 | " -B set Advanced Power Management setting (1-255)\n" \ | 1131 | " -B set Advanced Power Management setting (1-255)\n" \ |
| 1128 | " -c get/set IDE 32-bit IO setting\n" \ | 1132 | " -c get/set IDE 32-bit IO setting\n" \ |
| 1129 | " -C check IDE power mode status\n" \ | 1133 | " -C check IDE power mode status\n" \ |
| 1130 | USE_FEATURE_HDPARM_HDIO_GETSET_DMA( \ | 1134 | USE_FEATURE_HDPARM_HDIO_GETSET_DMA( \ |
| 1131 | " -d get/set using_dma flag\n") \ | 1135 | " -d get/set using_dma flag\n") \ |
| 1132 | " -D enable/disable drive defect-mgmt\n" \ | 1136 | " -D enable/disable drive defect-mgmt\n" \ |
| 1133 | " -f flush buffer cache for device on exit\n" \ | 1137 | " -f flush buffer cache for device on exit\n" \ |
| 1134 | " -g display drive geometry\n" \ | 1138 | " -g display drive geometry\n" \ |
| 1135 | " -h display terse usage information\n" \ | 1139 | " -h display terse usage information\n" \ |
| 1136 | USE_FEATURE_HDPARM_GET_IDENTITY( \ | 1140 | USE_FEATURE_HDPARM_GET_IDENTITY( \ |
| 1137 | " -i display drive identification\n") \ | 1141 | " -i display drive identification\n") \ |
| 1138 | USE_FEATURE_HDPARM_GET_IDENTITY( \ | 1142 | USE_FEATURE_HDPARM_GET_IDENTITY( \ |
| 1139 | " -I detailed/current information directly from drive\n") \ | 1143 | " -I detailed/current information directly from drive\n") \ |
| 1140 | " -k get/set keep_settings_over_reset flag (0/1)\n" \ | 1144 | " -k get/set keep_settings_over_reset flag (0/1)\n" \ |
| 1141 | " -K set drive keep_features_over_reset flag (0/1)\n" \ | 1145 | " -K set drive keep_features_over_reset flag (0/1)\n" \ |
| 1142 | " -L set drive doorlock (0/1) (removable harddisks only)\n" \ | 1146 | " -L set drive doorlock (0/1) (removable harddisks only)\n" \ |
| 1143 | " -m get/set multiple sector count\n" \ | 1147 | " -m get/set multiple sector count\n" \ |
| 1144 | " -n get/set ignore-write-errors flag (0/1)\n" \ | 1148 | " -n get/set ignore-write-errors flag (0/1)\n" \ |
| 1145 | " -p set PIO mode on IDE interface chipset (0,1,2,3,4,...)\n" \ | 1149 | " -p set PIO mode on IDE interface chipset (0,1,2,3,4,...)\n" \ |
| 1146 | " -P set drive prefetch count\n" \ | 1150 | " -P set drive prefetch count\n" \ |
| 1147 | " -q change next setting quietly\n" \ | 1151 | " -q change next setting quietly\n" \ |
| 1148 | " -Q get/set DMA tagged-queuing depth (if supported)\n" \ | 1152 | " -Q get/set DMA tagged-queuing depth (if supported)\n" \ |
| 1149 | " -r get/set readonly flag (DANGEROUS to set)\n" \ | 1153 | " -r get/set readonly flag (DANGEROUS to set)\n" \ |
| 1150 | USE_FEATURE_HDPARM_HDIO_SCAN_HWIF( \ | 1154 | USE_FEATURE_HDPARM_HDIO_SCAN_HWIF( \ |
| 1151 | " -R register an IDE interface (DANGEROUS)\n") \ | 1155 | " -R register an IDE interface (DANGEROUS)\n") \ |
| 1152 | " -S set standby (spindown) timeout\n" \ | 1156 | " -S set standby (spindown) timeout\n" \ |
| 1153 | " -t perform device read timings\n" \ | 1157 | " -t perform device read timings\n" \ |
| 1154 | " -T perform cache read timings\n" \ | 1158 | " -T perform cache read timings\n" \ |
| 1155 | " -u get/set unmaskirq flag (0/1)\n" \ | 1159 | " -u get/set unmaskirq flag (0/1)\n" \ |
| 1156 | USE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF( \ | 1160 | USE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF( \ |
| 1157 | " -U un-register an IDE interface (DANGEROUS)\n") \ | 1161 | " -U un-register an IDE interface (DANGEROUS)\n") \ |
| 1158 | " -v defaults; same as -mcudkrag for IDE drives\n" \ | 1162 | " -v defaults; same as -mcudkrag for IDE drives\n" \ |
| 1159 | " -V display program version and exit immediately\n" \ | 1163 | " -V display program version and exit immediately\n" \ |
| 1160 | USE_FEATURE_HDPARM_HDIO_DRIVE_RESET( \ | 1164 | USE_FEATURE_HDPARM_HDIO_DRIVE_RESET( \ |
| 1161 | " -w perform device reset (DANGEROUS)\n") \ | 1165 | " -w perform device reset (DANGEROUS)\n") \ |
| 1162 | " -W set drive write-caching flag (0/1) (DANGEROUS)\n" \ | 1166 | " -W set drive write-caching flag (0/1) (DANGEROUS)\n" \ |
| 1163 | USE_FEATURE_HDPARM_HDIO_TRISTATE_HWIF( \ | 1167 | USE_FEATURE_HDPARM_HDIO_TRISTATE_HWIF( \ |
| 1164 | " -x tristate device for hotswap (0/1) (DANGEROUS)\n") \ | 1168 | " -x tristate device for hotswap (0/1) (DANGEROUS)\n") \ |
| 1165 | " -X set IDE xfer mode (DANGEROUS)\n" \ | 1169 | " -X set IDE xfer mode (DANGEROUS)\n" \ |
| 1166 | " -y put IDE drive in standby mode\n" \ | 1170 | " -y put IDE drive in standby mode\n" \ |
| 1167 | " -Y put IDE drive to sleep\n" \ | 1171 | " -Y put IDE drive to sleep\n" \ |
| 1168 | " -Z disable Seagate auto-powersaving mode\n" \ | 1172 | " -Z disable Seagate auto-powersaving mode\n" \ |
| 1169 | " -z re-read partition table" | 1173 | " -z re-read partition table" |
| 1170 | 1174 | ||
| 1171 | #define head_trivial_usage \ | 1175 | #define head_trivial_usage \ |
| 1172 | "[OPTION]... [FILE]..." | 1176 | "[OPTION]... [FILE]..." |
| 1173 | #define head_full_usage \ | 1177 | #define head_full_usage \ |
| 1174 | "Print first 10 lines of each FILE to standard output.\n" \ | 1178 | "Print first 10 lines of each FILE to standard output.\n" \ |
| 1175 | "With more than one FILE, precede each with a header giving the\n" \ | 1179 | "With more than one FILE, precede each with a header giving the\n" \ |
| 1176 | "file name. With no FILE, or when FILE is -, read standard input.\n\n" \ | 1180 | "file name. With no FILE, or when FILE is -, read standard input" \ |
| 1177 | "Options:" \ | 1181 | "\n\nOptions:" \ |
| 1178 | "\n -n NUM Print first NUM lines instead of first 10" \ | 1182 | "\n -n NUM Print first NUM lines instead of first 10" \ |
| 1179 | USE_FEATURE_FANCY_HEAD( \ | 1183 | USE_FEATURE_FANCY_HEAD( \ |
| 1180 | "\n -c NUM output the first NUM bytes" \ | 1184 | "\n -c NUM output the first NUM bytes" \ |
| @@ -1190,7 +1194,8 @@ | |||
| 1190 | #define hexdump_full_usage \ | 1194 | #define hexdump_full_usage \ |
| 1191 | "The hexdump utility is a filter which displays the specified files,\n" \ | 1195 | "The hexdump utility is a filter which displays the specified files,\n" \ |
| 1192 | "or the standard input, if no files are specified, in a user specified\n" \ | 1196 | "or the standard input, if no files are specified, in a user specified\n" \ |
| 1193 | "format\n" \ | 1197 | "format" \ |
| 1198 | "\n\nOptions:\n" \ | ||
| 1194 | " -b One-byte octal display\n" \ | 1199 | " -b One-byte octal display\n" \ |
| 1195 | " -c One-byte character display\n" \ | 1200 | " -c One-byte character display\n" \ |
| 1196 | " -C Canonical hex+ASCII, 16 bytes per line\n" \ | 1201 | " -C Canonical hex+ASCII, 16 bytes per line\n" \ |
| @@ -1212,8 +1217,8 @@ | |||
| 1212 | "[OPTION] {hostname | -F FILE}" | 1217 | "[OPTION] {hostname | -F FILE}" |
| 1213 | #define hostname_full_usage \ | 1218 | #define hostname_full_usage \ |
| 1214 | "Get or set the hostname or DNS domain name. If a hostname is given\n" \ | 1219 | "Get or set the hostname or DNS domain name. If a hostname is given\n" \ |
| 1215 | "(or FILE with the -F parameter), the host name will be set.\n\n" \ | 1220 | "(or FILE with the -F parameter), the host name will be set." \ |
| 1216 | "Options:\n" \ | 1221 | "\n\nOptions:\n" \ |
| 1217 | " -s Short\n" \ | 1222 | " -s Short\n" \ |
| 1218 | " -i Addresses for the hostname\n" \ | 1223 | " -i Addresses for the hostname\n" \ |
| 1219 | " -d DNS domain name\n" \ | 1224 | " -d DNS domain name\n" \ |
| @@ -1233,8 +1238,8 @@ | |||
| 1233 | " [-h home]" \ | 1238 | " [-h home]" \ |
| 1234 | " [-d/-e <string>]" | 1239 | " [-d/-e <string>]" |
| 1235 | #define httpd_full_usage \ | 1240 | #define httpd_full_usage \ |
| 1236 | "Listens for incoming http server requests.\n\n" \ | 1241 | "Listens for incoming http server requests" \ |
| 1237 | "Options:\n" \ | 1242 | "\n\nOptions:\n" \ |
| 1238 | " -c FILE Specifies configuration file. (default httpd.conf)\n" \ | 1243 | " -c FILE Specifies configuration file. (default httpd.conf)\n" \ |
| 1239 | " -p PORT Server port (default 80)\n" \ | 1244 | " -p PORT Server port (default 80)\n" \ |
| 1240 | " -i Assume that we are started from inetd\n" \ | 1245 | " -i Assume that we are started from inetd\n" \ |
| @@ -1252,8 +1257,8 @@ | |||
| 1252 | #define hwclock_trivial_usage \ | 1257 | #define hwclock_trivial_usage \ |
| 1253 | "[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]" | 1258 | "[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]" |
| 1254 | #define hwclock_full_usage \ | 1259 | #define hwclock_full_usage \ |
| 1255 | "Query and set the hardware clock (RTC)\n\n" \ | 1260 | "Query and set the hardware clock (RTC)" \ |
| 1256 | "Options:\n" \ | 1261 | "\n\nOptions:\n" \ |
| 1257 | " -r read hardware clock and print result\n" \ | 1262 | " -r read hardware clock and print result\n" \ |
| 1258 | " -s set the system time from the hardware clock\n" \ | 1263 | " -s set the system time from the hardware clock\n" \ |
| 1259 | " -w set the hardware clock to the current system time\n" \ | 1264 | " -w set the hardware clock to the current system time\n" \ |
| @@ -1263,8 +1268,8 @@ | |||
| 1263 | #define id_trivial_usage \ | 1268 | #define id_trivial_usage \ |
| 1264 | "[OPTIONS]... [USERNAME]" | 1269 | "[OPTIONS]... [USERNAME]" |
| 1265 | #define id_full_usage \ | 1270 | #define id_full_usage \ |
| 1266 | "Print information for USERNAME or the current user\n\n" \ | 1271 | "Print information for USERNAME or the current user" \ |
| 1267 | "Options:\n" \ | 1272 | "\n\nOptions:\n" \ |
| 1268 | USE_SELINUX( \ | 1273 | USE_SELINUX( \ |
| 1269 | " -c prints only the security context\n") \ | 1274 | " -c prints only the security context\n") \ |
| 1270 | " -g prints only the group ID\n" \ | 1275 | " -g prints only the group ID\n" \ |
| @@ -1278,8 +1283,8 @@ | |||
| 1278 | #define ifconfig_trivial_usage \ | 1283 | #define ifconfig_trivial_usage \ |
| 1279 | USE_FEATURE_IFCONFIG_STATUS("[-a]") " <interface> [<address>]" | 1284 | USE_FEATURE_IFCONFIG_STATUS("[-a]") " <interface> [<address>]" |
| 1280 | #define ifconfig_full_usage \ | 1285 | #define ifconfig_full_usage \ |
| 1281 | "configure a network interface\n\n" \ | 1286 | "Configure a network interface" \ |
| 1282 | "Options:\n" \ | 1287 | "\n\nOptions:\n" \ |
| 1283 | USE_FEATURE_IPV6( \ | 1288 | USE_FEATURE_IPV6( \ |
| 1284 | " [add <address>[/<prefixlen>]]\n") \ | 1289 | " [add <address>[/<prefixlen>]]\n") \ |
| 1285 | USE_FEATURE_IPV6( \ | 1290 | USE_FEATURE_IPV6( \ |
| @@ -1298,7 +1303,6 @@ | |||
| 1298 | #define ifup_trivial_usage \ | 1303 | #define ifup_trivial_usage \ |
| 1299 | "<-ahinv> <ifaces...>" | 1304 | "<-ahinv> <ifaces...>" |
| 1300 | #define ifup_full_usage \ | 1305 | #define ifup_full_usage \ |
| 1301 | "ifup <options> <ifaces...>\n\n" \ | ||
| 1302 | "Options:\n" \ | 1306 | "Options:\n" \ |
| 1303 | " -h this help\n" \ | 1307 | " -h this help\n" \ |
| 1304 | " -a de/configure all interfaces automatically\n" \ | 1308 | " -a de/configure all interfaces automatically\n" \ |
| @@ -1312,7 +1316,6 @@ | |||
| 1312 | #define ifdown_trivial_usage \ | 1316 | #define ifdown_trivial_usage \ |
| 1313 | "<-ahinv> <ifaces...>" | 1317 | "<-ahinv> <ifaces...>" |
| 1314 | #define ifdown_full_usage \ | 1318 | #define ifdown_full_usage \ |
| 1315 | "ifdown <options> <ifaces...>\n\n" \ | ||
| 1316 | "Options:\n" \ | 1319 | "Options:\n" \ |
| 1317 | " -h this help\n" \ | 1320 | " -h this help\n" \ |
| 1318 | " -a de/configure all interfaces automatically\n" \ | 1321 | " -a de/configure all interfaces automatically\n" \ |
| @@ -1326,8 +1329,8 @@ | |||
| 1326 | #define inetd_trivial_usage \ | 1329 | #define inetd_trivial_usage \ |
| 1327 | "[-f] [-q len] [conf]" | 1330 | "[-f] [-q len] [conf]" |
| 1328 | #define inetd_full_usage \ | 1331 | #define inetd_full_usage \ |
| 1329 | "Listens for network connections and launches programs\n\n" \ | 1332 | "Listens for network connections and launches programs" \ |
| 1330 | "Option:\n" \ | 1333 | "\n\nOptions:\n" \ |
| 1331 | " -f Run as a foreground progress\n" \ | 1334 | " -f Run as a foreground progress\n" \ |
| 1332 | " -q Sets the size of the socket listen queue to\n" \ | 1335 | " -q Sets the size of the socket listen queue to\n" \ |
| 1333 | " the specified value. Default is 128" | 1336 | " the specified value. Default is 128" |
| @@ -1466,8 +1469,8 @@ | |||
| 1466 | #define insmod_trivial_usage \ | 1469 | #define insmod_trivial_usage \ |
| 1467 | "[OPTION]... MODULE [symbol=value]..." | 1470 | "[OPTION]... MODULE [symbol=value]..." |
| 1468 | #define insmod_full_usage \ | 1471 | #define insmod_full_usage \ |
| 1469 | "Loads the specified kernel modules into the kernel.\n\n" \ | 1472 | "Loads the specified kernel modules into the kernel" \ |
| 1470 | "Options:\n" \ | 1473 | "\n\nOptions:\n" \ |
| 1471 | " -f Force module to load into the wrong kernel version\n" \ | 1474 | " -f Force module to load into the wrong kernel version\n" \ |
| 1472 | " -k Make module autoclean-able\n" \ | 1475 | " -k Make module autoclean-able\n" \ |
| 1473 | " -v verbose output\n" \ | 1476 | " -v verbose output\n" \ |
| @@ -1481,8 +1484,8 @@ | |||
| 1481 | #define install_trivial_usage \ | 1484 | #define install_trivial_usage \ |
| 1482 | "[-cgmops] [sources] <dest|directory>" | 1485 | "[-cgmops] [sources] <dest|directory>" |
| 1483 | #define install_full_usage \ | 1486 | #define install_full_usage \ |
| 1484 | "Copies files and set attributes\n\n" \ | 1487 | "Copies files and set attributes" \ |
| 1485 | "Options:\n" \ | 1488 | "\n\nOptions:\n" \ |
| 1486 | " -c copy the file, default\n" \ | 1489 | " -c copy the file, default\n" \ |
| 1487 | " -d create directories\n" \ | 1490 | " -d create directories\n" \ |
| 1488 | " -g set group ownership\n" \ | 1491 | " -g set group ownership\n" \ |
| @@ -1513,8 +1516,8 @@ | |||
| 1513 | #define ipcalc_trivial_usage \ | 1516 | #define ipcalc_trivial_usage \ |
| 1514 | "[OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]" | 1517 | "[OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]" |
| 1515 | #define ipcalc_full_usage \ | 1518 | #define ipcalc_full_usage \ |
| 1516 | "Calculate IP network settings from a IP address\n\n" \ | 1519 | "Calculate IP network settings from a IP address" \ |
| 1517 | "Options:\n" \ | 1520 | "\n\nOptions:\n" \ |
| 1518 | " -b --broadcast Display calculated broadcast address\n" \ | 1521 | " -b --broadcast Display calculated broadcast address\n" \ |
| 1519 | " -n --network Display calculated network address\n" \ | 1522 | " -n --network Display calculated network address\n" \ |
| 1520 | " -m --netmask Display default netmask for IP" \ | 1523 | " -m --netmask Display default netmask for IP" \ |
| @@ -1592,8 +1595,8 @@ | |||
| 1592 | #define kill_trivial_usage \ | 1595 | #define kill_trivial_usage \ |
| 1593 | "[-l] [-signal] process-id [process-id ...]" | 1596 | "[-l] [-signal] process-id [process-id ...]" |
| 1594 | #define kill_full_usage \ | 1597 | #define kill_full_usage \ |
| 1595 | "Send a signal (default is TERM) to the specified process(es).\n\n" \ | 1598 | "Send a signal (default is TERM) to the specified process(es)" \ |
| 1596 | "Options:\n" \ | 1599 | "\n\nOptions:\n" \ |
| 1597 | " -l List all signal names and numbers" | 1600 | " -l List all signal names and numbers" |
| 1598 | #define kill_example_usage \ | 1601 | #define kill_example_usage \ |
| 1599 | "$ ps | grep apache\n" \ | 1602 | "$ ps | grep apache\n" \ |
| @@ -1608,8 +1611,8 @@ | |||
| 1608 | #define killall_trivial_usage \ | 1611 | #define killall_trivial_usage \ |
| 1609 | "[-l] [-q] [-signal] process-name [process-name ...]" | 1612 | "[-l] [-q] [-signal] process-name [process-name ...]" |
| 1610 | #define killall_full_usage \ | 1613 | #define killall_full_usage \ |
| 1611 | "Send a signal (default is TERM) to the specified process(es).\n\n" \ | 1614 | "Send a signal (default is TERM) to the specified process(es)" \ |
| 1612 | "Options:\n" \ | 1615 | "\n\nOptions:\n" \ |
| 1613 | " -l List all signal names and numbers\n" \ | 1616 | " -l List all signal names and numbers\n" \ |
| 1614 | " -q Do not complain if no processes were killed" | 1617 | " -q Do not complain if no processes were killed" |
| 1615 | #define killall_example_usage \ | 1618 | #define killall_example_usage \ |
| @@ -1618,15 +1621,15 @@ | |||
| 1618 | #define killall5_trivial_usage \ | 1621 | #define killall5_trivial_usage \ |
| 1619 | "[-l] [-signal]" | 1622 | "[-l] [-signal]" |
| 1620 | #define killall5_full_usage \ | 1623 | #define killall5_full_usage \ |
| 1621 | "Send a signal (default is TERM) to all processes outside current session.\n\n" \ | 1624 | "Send a signal (default is TERM) to all processes outside current session" \ |
| 1622 | "Options:\n" \ | 1625 | "\n\nOptions:\n" \ |
| 1623 | " -l List all signal names and numbers\n" \ | 1626 | " -l List all signal names and numbers\n" \ |
| 1624 | 1627 | ||
| 1625 | #define klogd_trivial_usage \ | 1628 | #define klogd_trivial_usage \ |
| 1626 | "[-c n] [-n]" | 1629 | "[-c n] [-n]" |
| 1627 | #define klogd_full_usage \ | 1630 | #define klogd_full_usage \ |
| 1628 | "Kernel logger.\n" \ | 1631 | "Kernel logger" \ |
| 1629 | "Options:\n" \ | 1632 | "\n\nOptions:\n" \ |
| 1630 | " -c n Sets the default log level of console messages to n\n" \ | 1633 | " -c n Sets the default log level of console messages to n\n" \ |
| 1631 | " -n Run as a foreground process" | 1634 | " -n Run as a foreground process" |
| 1632 | 1635 | ||
| @@ -1642,8 +1645,8 @@ | |||
| 1642 | "[-EMNmh~?] FILE1 FILE2..." | 1645 | "[-EMNmh~?] FILE1 FILE2..." |
| 1643 | #define less_full_usage \ | 1646 | #define less_full_usage \ |
| 1644 | "View a file or list of files. The position within files can be\n" \ | 1647 | "View a file or list of files. The position within files can be\n" \ |
| 1645 | "changed, and files can be manipulated in various ways with the\n" \ | 1648 | "changed, and files can be manipulated in various ways" \ |
| 1646 | "following options:\n\n" \ | 1649 | "\n\nOptions:\n" \ |
| 1647 | " -E Quit once the end of a file is reached\n" \ | 1650 | " -E Quit once the end of a file is reached\n" \ |
| 1648 | " -M Display a status line containing the current line numbers\n" \ | 1651 | " -M Display a status line containing the current line numbers\n" \ |
| 1649 | " and the percentage through the file\n" \ | 1652 | " and the percentage through the file\n" \ |
| @@ -1664,9 +1667,9 @@ | |||
| 1664 | #define ln_trivial_usage \ | 1667 | #define ln_trivial_usage \ |
| 1665 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" | 1668 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" |
| 1666 | #define ln_full_usage \ | 1669 | #define ln_full_usage \ |
| 1667 | "Create a link named LINK_NAME or DIRECTORY to the specified TARGET\n" \ | 1670 | "Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \ |
| 1668 | "\nYou may use '--' to indicate that all following arguments are non-options.\n\n" \ | 1671 | "You may use '--' to indicate that all following arguments are non-options." \ |
| 1669 | "Options:\n" \ | 1672 | "\n\nOptions:\n" \ |
| 1670 | " -s make symbolic links instead of hard links\n" \ | 1673 | " -s make symbolic links instead of hard links\n" \ |
| 1671 | " -f remove existing destination files\n" \ | 1674 | " -f remove existing destination files\n" \ |
| 1672 | " -n no dereference symlinks - treat like normal file\n" \ | 1675 | " -n no dereference symlinks - treat like normal file\n" \ |
| @@ -1694,8 +1697,8 @@ | |||
| 1694 | #define logger_trivial_usage \ | 1697 | #define logger_trivial_usage \ |
| 1695 | "[OPTION]... [MESSAGE]" | 1698 | "[OPTION]... [MESSAGE]" |
| 1696 | #define logger_full_usage \ | 1699 | #define logger_full_usage \ |
| 1697 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n\n" \ | 1700 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin." \ |
| 1698 | "Options:\n" \ | 1701 | "\n\nOptions:\n" \ |
| 1699 | " -s Log to stderr as well as the system log\n" \ | 1702 | " -s Log to stderr as well as the system log\n" \ |
| 1700 | " -t TAG Log using the specified tag (defaults to user name)\n" \ | 1703 | " -t TAG Log using the specified tag (defaults to user name)\n" \ |
| 1701 | " -p PRIORITY Enter the message with the specified priority\n" \ | 1704 | " -p PRIORITY Enter the message with the specified priority\n" \ |
| @@ -1706,8 +1709,8 @@ | |||
| 1706 | #define login_trivial_usage \ | 1709 | #define login_trivial_usage \ |
| 1707 | "[OPTION]... [username] [ENV=VAR ...]" | 1710 | "[OPTION]... [username] [ENV=VAR ...]" |
| 1708 | #define login_full_usage \ | 1711 | #define login_full_usage \ |
| 1709 | "Begin a new session on the system\n\n" \ | 1712 | "Begin a new session on the system" \ |
| 1710 | "Options:\n" \ | 1713 | "\n\nOptions:\n" \ |
| 1711 | " -f Do not authenticate (user already authenticated)\n" \ | 1714 | " -f Do not authenticate (user already authenticated)\n" \ |
| 1712 | " -h Name of the remote host for this login\n" \ | 1715 | " -h Name of the remote host for this login\n" \ |
| 1713 | " -p Preserve environment" | 1716 | " -p Preserve environment" |
| @@ -1723,15 +1726,15 @@ | |||
| 1723 | #define logread_trivial_usage \ | 1726 | #define logread_trivial_usage \ |
| 1724 | "[OPTION]..." | 1727 | "[OPTION]..." |
| 1725 | #define logread_full_usage \ | 1728 | #define logread_full_usage \ |
| 1726 | "Shows the messages from syslogd (using circular buffer).\n\n" \ | 1729 | "Shows the messages from syslogd (using circular buffer)" \ |
| 1727 | "Options:\n" \ | 1730 | "\n\nOptions:\n" \ |
| 1728 | " -f output data as the log grows" | 1731 | " -f output data as the log grows" |
| 1729 | 1732 | ||
| 1730 | #define losetup_trivial_usage \ | 1733 | #define losetup_trivial_usage \ |
| 1731 | "[-o OFFSET] [-d] LOOPDEVICE [FILE]]" | 1734 | "[-o OFFSET] [-d] LOOPDEVICE [FILE]]" |
| 1732 | #define losetup_full_usage \ | 1735 | #define losetup_full_usage \ |
| 1733 | "(Dis)associate LOOPDEVICE with FILE, or display current associations.\n\n" \ | 1736 | "(Dis)associate LOOPDEVICE with FILE, or display current associations" \ |
| 1734 | "Options:\n" \ | 1737 | "\n\nOptions:\n" \ |
| 1735 | " -d Disassociate LOOPDEVICE\n" \ | 1738 | " -d Disassociate LOOPDEVICE\n" \ |
| 1736 | " -o OFFSET Start OFFSET bytes into FILE" | 1739 | " -o OFFSET Start OFFSET bytes into FILE" |
| 1737 | #define losetup_notes_usage \ | 1740 | #define losetup_notes_usage \ |
| @@ -1752,8 +1755,8 @@ | |||
| 1752 | USE_FEATURE_LS_SORTFILES("X") USE_FEATURE_HUMAN_READABLE("h") "k" \ | 1755 | USE_FEATURE_LS_SORTFILES("X") USE_FEATURE_HUMAN_READABLE("h") "k" \ |
| 1753 | USE_SELINUX("K") "] [filenames...]" | 1756 | USE_SELINUX("K") "] [filenames...]" |
| 1754 | #define ls_full_usage \ | 1757 | #define ls_full_usage \ |
| 1755 | "List directory contents\n\n" \ | 1758 | "List directory contents" \ |
| 1756 | "Options:" \ | 1759 | "\n\nOptions:" \ |
| 1757 | "\n -1 list files in a single column" \ | 1760 | "\n -1 list files in a single column" \ |
| 1758 | "\n -A do not list implied . and .." \ | 1761 | "\n -A do not list implied . and .." \ |
| 1759 | "\n -a do not hide entries starting with ." \ | 1762 | "\n -a do not hide entries starting with ." \ |
| @@ -1804,8 +1807,8 @@ | |||
| 1804 | #define lsattr_trivial_usage \ | 1807 | #define lsattr_trivial_usage \ |
| 1805 | "[-Radlv] [files...]" | 1808 | "[-Radlv] [files...]" |
| 1806 | #define lsattr_full_usage \ | 1809 | #define lsattr_full_usage \ |
| 1807 | "list file attributes on an ext2 fs\n\n" \ | 1810 | "List file attributes on an ext2 fs" \ |
| 1808 | "Options:\n" \ | 1811 | "\n\nOptions:\n" \ |
| 1809 | " -R recursively list subdirectories\n" \ | 1812 | " -R recursively list subdirectories\n" \ |
| 1810 | " -a do not hide entries starting with .\n" \ | 1813 | " -a do not hide entries starting with .\n" \ |
| 1811 | " -d list directory entries instead of contents\n" \ | 1814 | " -d list directory entries instead of contents\n" \ |
| @@ -1877,8 +1880,8 @@ | |||
| 1877 | "[OPTION] [FILEs...]" \ | 1880 | "[OPTION] [FILEs...]" \ |
| 1878 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTION] -c [FILE]") | 1881 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTION] -c [FILE]") |
| 1879 | #define md5sum_full_usage \ | 1882 | #define md5sum_full_usage \ |
| 1880 | "Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums.\n\n" \ | 1883 | "Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ |
| 1881 | "Options:\n" \ | 1884 | "\n\nOptions:\n" \ |
| 1882 | "With no FILE, or when FILE is -, read standard input." \ | 1885 | "With no FILE, or when FILE is -, read standard input." \ |
| 1883 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n\n" \ | 1886 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n\n" \ |
| 1884 | " -c check MD5 sums against given list\n" \ | 1887 | " -c check MD5 sums against given list\n" \ |
| @@ -1931,8 +1934,8 @@ | |||
| 1931 | #define mkdir_trivial_usage \ | 1934 | #define mkdir_trivial_usage \ |
| 1932 | "[OPTION] DIRECTORY..." | 1935 | "[OPTION] DIRECTORY..." |
| 1933 | #define mkdir_full_usage \ | 1936 | #define mkdir_full_usage \ |
| 1934 | "Create the DIRECTORY(ies) if they do not already exist\n\n" \ | 1937 | "Create the DIRECTORY(ies) if they do not already exist" \ |
| 1935 | "Options:\n" \ | 1938 | "\n\nOptions:\n" \ |
| 1936 | " -m set permission mode (as in chmod), not rwxrwxrwx - umask\n" \ | 1939 | " -m set permission mode (as in chmod), not rwxrwxrwx - umask\n" \ |
| 1937 | " -p no error if existing, make parent directories as needed" | 1940 | " -p no error if existing, make parent directories as needed" |
| 1938 | #define mkdir_example_usage \ | 1941 | #define mkdir_example_usage \ |
| @@ -1977,15 +1980,15 @@ | |||
| 1977 | #define mkfifo_trivial_usage \ | 1980 | #define mkfifo_trivial_usage \ |
| 1978 | "[OPTIONS] name" | 1981 | "[OPTIONS] name" |
| 1979 | #define mkfifo_full_usage \ | 1982 | #define mkfifo_full_usage \ |
| 1980 | "Creates a named pipe (identical to 'mknod name p')\n\n" \ | 1983 | "Creates a named pipe (identical to 'mknod name p')" \ |
| 1981 | "Options:\n" \ | 1984 | "\n\nOptions:\n" \ |
| 1982 | " -m create the pipe using the specified mode (default a=rw)" | 1985 | " -m create the pipe using the specified mode (default a=rw)" |
| 1983 | 1986 | ||
| 1984 | #define mkfs_minix_trivial_usage \ | 1987 | #define mkfs_minix_trivial_usage \ |
| 1985 | "[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]" | 1988 | "[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]" |
| 1986 | #define mkfs_minix_full_usage \ | 1989 | #define mkfs_minix_full_usage \ |
| 1987 | "Make a MINIX filesystem.\n\n" \ | 1990 | "Make a MINIX filesystem" \ |
| 1988 | "Options:\n" \ | 1991 | "\n\nOptions:\n" \ |
| 1989 | " -c Check the device for bad blocks\n" \ | 1992 | " -c Check the device for bad blocks\n" \ |
| 1990 | " -n [14|30] Specify the maximum length of filenames\n" \ | 1993 | " -n [14|30] Specify the maximum length of filenames\n" \ |
| 1991 | " -i INODES Specify the number of inodes for the filesystem\n" \ | 1994 | " -i INODES Specify the number of inodes for the filesystem\n" \ |
| @@ -1995,10 +1998,10 @@ | |||
| 1995 | #define mknod_trivial_usage \ | 1998 | #define mknod_trivial_usage \ |
| 1996 | "[OPTIONS] NAME TYPE MAJOR MINOR" | 1999 | "[OPTIONS] NAME TYPE MAJOR MINOR" |
| 1997 | #define mknod_full_usage \ | 2000 | #define mknod_full_usage \ |
| 1998 | "Create a special file (block, character, or pipe).\n\n" \ | 2001 | "Create a special file (block, character, or pipe)" \ |
| 1999 | "Options:\n" \ | 2002 | "\n\nOptions:\n" \ |
| 2000 | " -m create the special file using the specified mode (default a=rw)\n\n" \ | 2003 | " -m create the special file using the specified mode (default a=rw)" \ |
| 2001 | "TYPEs include:\n" \ | 2004 | "\n\nTYPEs include:\n" \ |
| 2002 | " b: Make a block (buffered) device\n" \ | 2005 | " b: Make a block (buffered) device\n" \ |
| 2003 | " c or u: Make a character (un-buffered) device\n" \ | 2006 | " c or u: Make a character (un-buffered) device\n" \ |
| 2004 | " p: Make a named pipe. MAJOR and MINOR are ignored for named pipes" | 2007 | " p: Make a named pipe. MAJOR and MINOR are ignored for named pipes" |
| @@ -2009,8 +2012,8 @@ | |||
| 2009 | #define mkswap_trivial_usage \ | 2012 | #define mkswap_trivial_usage \ |
| 2010 | "[-c] [-v0|-v1] device [block-count]" | 2013 | "[-c] [-v0|-v1] device [block-count]" |
| 2011 | #define mkswap_full_usage \ | 2014 | #define mkswap_full_usage \ |
| 2012 | "Prepare a disk partition to be used as a swap partition.\n\n" \ | 2015 | "Prepare a disk partition to be used as a swap partition" \ |
| 2013 | "Options:\n" \ | 2016 | "\n\nOptions:\n" \ |
| 2014 | " -c Check for read-ability\n" \ | 2017 | " -c Check for read-ability\n" \ |
| 2015 | " -v0 Make version 0 swap [max 128 Megs]\n" \ | 2018 | " -v0 Make version 0 swap [max 128 Megs]\n" \ |
| 2016 | " -v1 Make version 1 swap [big!] (default for kernels > 2.1.117)\n" \ | 2019 | " -v1 Make version 1 swap [big!] (default for kernels > 2.1.117)\n" \ |
| @@ -2020,8 +2023,8 @@ | |||
| 2020 | "[-dq] TEMPLATE" | 2023 | "[-dq] TEMPLATE" |
| 2021 | #define mktemp_full_usage \ | 2024 | #define mktemp_full_usage \ |
| 2022 | "Creates a temporary file with its name based on TEMPLATE.\n" \ | 2025 | "Creates a temporary file with its name based on TEMPLATE.\n" \ |
| 2023 | "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX).\n\n" \ | 2026 | "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX)." \ |
| 2024 | "Options:\n" \ | 2027 | "\n\nOptions:\n" \ |
| 2025 | " -d Make a directory instead of a file\n" \ | 2028 | " -d Make a directory instead of a file\n" \ |
| 2026 | " -q Fail silently if an error occurs" | 2029 | " -q Fail silently if an error occurs" |
| 2027 | #define mktemp_example_usage \ | 2030 | #define mktemp_example_usage \ |
| @@ -2110,8 +2113,8 @@ | |||
| 2110 | #define mount_trivial_usage \ | 2113 | #define mount_trivial_usage \ |
| 2111 | "[flags] DEVICE NODE [-o options,more-options]" | 2114 | "[flags] DEVICE NODE [-o options,more-options]" |
| 2112 | #define mount_full_usage \ | 2115 | #define mount_full_usage \ |
| 2113 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted.\n\n" \ | 2116 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted." \ |
| 2114 | "Flags:\n" \ | 2117 | "\n\nOptions:\n" \ |
| 2115 | " -a: Mount all filesystems in fstab\n" \ | 2118 | " -a: Mount all filesystems in fstab\n" \ |
| 2116 | USE_FEATURE_MTAB_SUPPORT( \ | 2119 | USE_FEATURE_MTAB_SUPPORT( \ |
| 2117 | " -f: \"Fake\" Add entry to mount table but don't mount it\n" \ | 2120 | " -f: \"Fake\" Add entry to mount table but don't mount it\n" \ |
| @@ -2158,8 +2161,8 @@ | |||
| 2158 | #define mountpoint_trivial_usage \ | 2161 | #define mountpoint_trivial_usage \ |
| 2159 | "[-q] <[-d] DIR | -x DEVICE>" | 2162 | "[-q] <[-d] DIR | -x DEVICE>" |
| 2160 | #define mountpoint_full_usage \ | 2163 | #define mountpoint_full_usage \ |
| 2161 | "mountpoint checks if the directory is a mountpoint\n\n" \ | 2164 | "mountpoint checks if the directory is a mountpoint" \ |
| 2162 | "Options:\n" \ | 2165 | "\n\nOptions:\n" \ |
| 2163 | " -q Be more quiet\n" \ | 2166 | " -q Be more quiet\n" \ |
| 2164 | " -d Print major/minor device number of the filesystem\n" \ | 2167 | " -d Print major/minor device number of the filesystem\n" \ |
| 2165 | " -x Print major/minor device number of the blockdevice" | 2168 | " -x Print major/minor device number of the blockdevice" |
| @@ -2183,8 +2186,8 @@ | |||
| 2183 | "[OPTION]... SOURCE DEST\n" \ | 2186 | "[OPTION]... SOURCE DEST\n" \ |
| 2184 | "or: mv [OPTION]... SOURCE... DIRECTORY" | 2187 | "or: mv [OPTION]... SOURCE... DIRECTORY" |
| 2185 | #define mv_full_usage \ | 2188 | #define mv_full_usage \ |
| 2186 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.\n\n" \ | 2189 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY" \ |
| 2187 | "Options:\n" \ | 2190 | "\n\nOptions:\n" \ |
| 2188 | " -f don't prompt before overwriting\n" \ | 2191 | " -f don't prompt before overwriting\n" \ |
| 2189 | " -i interactive, prompt before overwrite" | 2192 | " -i interactive, prompt before overwrite" |
| 2190 | #define mv_example_usage \ | 2193 | #define mv_example_usage \ |
| @@ -2193,8 +2196,8 @@ | |||
| 2193 | #define nameif_trivial_usage \ | 2196 | #define nameif_trivial_usage \ |
| 2194 | "[-s] [-c FILE] [{IFNAME MACADDR}]" | 2197 | "[-s] [-c FILE] [{IFNAME MACADDR}]" |
| 2195 | #define nameif_full_usage \ | 2198 | #define nameif_full_usage \ |
| 2196 | "Nameif renames network interface while it in the down state.\n\n" \ | 2199 | "Renames network interface while it in the down state" \ |
| 2197 | "Options:\n" \ | 2200 | "\n\nOptions:\n" \ |
| 2198 | " -c FILE Use configuration file (default is /etc/mactab)\n" \ | 2201 | " -c FILE Use configuration file (default is /etc/mactab)\n" \ |
| 2199 | " -s Use syslog (LOCAL0 facility)\n" \ | 2202 | " -s Use syslog (LOCAL0 facility)\n" \ |
| 2200 | " IFNAME MACADDR new_interface_name interface_mac_address" | 2203 | " IFNAME MACADDR new_interface_name interface_mac_address" |
| @@ -2230,10 +2233,10 @@ | |||
| 2230 | 2233 | ||
| 2231 | #define nc_notes_usage "" \ | 2234 | #define nc_notes_usage "" \ |
| 2232 | USE_NC_EXTRA( \ | 2235 | USE_NC_EXTRA( \ |
| 2233 | "To use netcat as a terminal emulator on a serial port:\n\n" \ | 2236 | "To use netcat as a terminal emulator on a serial port:\n\n" \ |
| 2234 | "$ stty 115200 -F /dev/ttyS0\n" \ | 2237 | "$ stty 115200 -F /dev/ttyS0\n" \ |
| 2235 | "$ stty raw -echo -ctlecho && nc -f /dev/ttyS0\n" \ | 2238 | "$ stty raw -echo -ctlecho && nc -f /dev/ttyS0\n" \ |
| 2236 | ) "" | 2239 | ) |
| 2237 | 2240 | ||
| 2238 | #define nc_example_usage \ | 2241 | #define nc_example_usage \ |
| 2239 | "$ nc foobar.somedomain.com 25\n" \ | 2242 | "$ nc foobar.somedomain.com 25\n" \ |
| @@ -2248,8 +2251,8 @@ | |||
| 2248 | #define netstat_trivial_usage \ | 2251 | #define netstat_trivial_usage \ |
| 2249 | "[-laenrtuwx]" | 2252 | "[-laenrtuwx]" |
| 2250 | #define netstat_full_usage \ | 2253 | #define netstat_full_usage \ |
| 2251 | "Netstat displays Linux networking information.\n\n" \ | 2254 | "Displays Linux networking information" \ |
| 2252 | "Options:\n" \ | 2255 | "\n\nOptions:\n" \ |
| 2253 | " -l display listening server sockets\n" \ | 2256 | " -l display listening server sockets\n" \ |
| 2254 | " -a display all sockets (default: connected)\n" \ | 2257 | " -a display all sockets (default: connected)\n" \ |
| 2255 | " -e display other/more information\n" \ | 2258 | " -e display other/more information\n" \ |
| @@ -2263,8 +2266,8 @@ | |||
| 2263 | #define nice_trivial_usage \ | 2266 | #define nice_trivial_usage \ |
| 2264 | "[-n ADJUST] [COMMAND [ARG] ...]" | 2267 | "[-n ADJUST] [COMMAND [ARG] ...]" |
| 2265 | #define nice_full_usage \ | 2268 | #define nice_full_usage \ |
| 2266 | "Nice runs a program with modified scheduling priority.\n\n" \ | 2269 | "Runs a program with modified scheduling priority" \ |
| 2267 | "Options:\n" \ | 2270 | "\n\nOptions:\n" \ |
| 2268 | " -n ADJUST Adjust the scheduling priority by ADJUST" | 2271 | " -n ADJUST Adjust the scheduling priority by ADJUST" |
| 2269 | 2272 | ||
| 2270 | #define nmeter_trivial_usage \ | 2273 | #define nmeter_trivial_usage \ |
| @@ -2328,8 +2331,8 @@ | |||
| 2328 | "[OPTION] [name]" | 2331 | "[OPTION] [name]" |
| 2329 | #define passwd_full_usage \ | 2332 | #define passwd_full_usage \ |
| 2330 | "Change a user password. If no name is specified,\n" \ | 2333 | "Change a user password. If no name is specified,\n" \ |
| 2331 | "changes the password for the current user.\n" \ | 2334 | "changes the password for the current user." \ |
| 2332 | "Options:\n" \ | 2335 | "\n\nOptions:\n" \ |
| 2333 | " -a Define which algorithm shall be used for the password\n" \ | 2336 | " -a Define which algorithm shall be used for the password\n" \ |
| 2334 | " (Choices: des, md5)\n" /* ", sha1)" */ \ | 2337 | " (Choices: des, md5)\n" /* ", sha1)" */ \ |
| 2335 | " -d Delete the password for the specified user account\n" \ | 2338 | " -d Delete the password for the specified user account\n" \ |
| @@ -2348,7 +2351,7 @@ | |||
| 2348 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) | 2351 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) |
| 2349 | #define USAGE_PIDOF "Options:" | 2352 | #define USAGE_PIDOF "Options:" |
| 2350 | #else | 2353 | #else |
| 2351 | #define USAGE_PIDOF "\n This version of pidof accepts no options." | 2354 | #define USAGE_PIDOF "\nThis version of pidof accepts no options." |
| 2352 | #endif | 2355 | #endif |
| 2353 | 2356 | ||
| 2354 | #define pidof_trivial_usage \ | 2357 | #define pidof_trivial_usage \ |
| @@ -2379,8 +2382,8 @@ | |||
| 2379 | #define ping_trivial_usage \ | 2382 | #define ping_trivial_usage \ |
| 2380 | "[OPTION]... host" | 2383 | "[OPTION]... host" |
| 2381 | #define ping_full_usage \ | 2384 | #define ping_full_usage \ |
| 2382 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ | 2385 | "Send ICMP ECHO_REQUEST packets to network hosts" \ |
| 2383 | "Options:\n" \ | 2386 | "\n\nOptions:\n" \ |
| 2384 | " -c CNT Send only CNT pings\n" \ | 2387 | " -c CNT Send only CNT pings\n" \ |
| 2385 | " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ | 2388 | " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ |
| 2386 | " -I IP Use IP as source address\n" \ | 2389 | " -I IP Use IP as source address\n" \ |
| @@ -2403,8 +2406,8 @@ | |||
| 2403 | #define ping6_trivial_usage \ | 2406 | #define ping6_trivial_usage \ |
| 2404 | "[OPTION]... host" | 2407 | "[OPTION]... host" |
| 2405 | #define ping6_full_usage \ | 2408 | #define ping6_full_usage \ |
| 2406 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ | 2409 | "Send ICMP ECHO_REQUEST packets to network hosts" \ |
| 2407 | "Options:\n" \ | 2410 | "\n\nOptions:\n" \ |
| 2408 | " -c CNT Send only CNT pings\n" \ | 2411 | " -c CNT Send only CNT pings\n" \ |
| 2409 | " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ | 2412 | " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ |
| 2410 | " -q Quiet mode, only displays output at start\n" \ | 2413 | " -q Quiet mode, only displays output at start\n" \ |
| @@ -2428,8 +2431,8 @@ | |||
| 2428 | #define poweroff_trivial_usage \ | 2431 | #define poweroff_trivial_usage \ |
| 2429 | "[-d<delay>] [-n<nosync>] [-f<force>]" | 2432 | "[-d<delay>] [-n<nosync>] [-f<force>]" |
| 2430 | #define poweroff_full_usage \ | 2433 | #define poweroff_full_usage \ |
| 2431 | "Halt and shut off power.\n" \ | 2434 | "Halt and shut off power" \ |
| 2432 | "Options:\n" \ | 2435 | "\n\nOptions:\n" \ |
| 2433 | " -d delay interval for halting\n" \ | 2436 | " -d delay interval for halting\n" \ |
| 2434 | " -n no call to sync()\n" \ | 2437 | " -n no call to sync()\n" \ |
| 2435 | " -f force power off (don't go through init)" | 2438 | " -f force power off (don't go through init)" |
| @@ -2455,8 +2458,8 @@ | |||
| 2455 | #define ps_trivial_usage \ | 2458 | #define ps_trivial_usage \ |
| 2456 | "" | 2459 | "" |
| 2457 | #define ps_full_usage \ | 2460 | #define ps_full_usage \ |
| 2458 | "Report process status\n" \ | 2461 | "Report process status" \ |
| 2459 | "\nOptions:" \ | 2462 | "\n\nOptions:" \ |
| 2460 | "\n -o col1,col2=header Select columns for display" \ | 2463 | "\n -o col1,col2=header Select columns for display" \ |
| 2461 | 2464 | ||
| 2462 | #else /* !ENABLE_DESKTOP */ | 2465 | #else /* !ENABLE_DESKTOP */ |
| @@ -2511,8 +2514,8 @@ | |||
| 2511 | #define rdate_trivial_usage \ | 2514 | #define rdate_trivial_usage \ |
| 2512 | "[-sp] HOST" | 2515 | "[-sp] HOST" |
| 2513 | #define rdate_full_usage \ | 2516 | #define rdate_full_usage \ |
| 2514 | "Get and possibly set the system date and time from a remote HOST.\n\n" \ | 2517 | "Get and possibly set the system date and time from a remote HOST" \ |
| 2515 | "Options:\n" \ | 2518 | "\n\nOptions:\n" \ |
| 2516 | " -s Set the system date and time (default)\n" \ | 2519 | " -s Set the system date and time (default)\n" \ |
| 2517 | " -p Print the date and time" | 2520 | " -p Print the date and time" |
| 2518 | 2521 | ||
| @@ -2553,8 +2556,8 @@ | |||
| 2553 | #define reboot_trivial_usage \ | 2556 | #define reboot_trivial_usage \ |
| 2554 | "[-d<delay>] [-n<nosync>] [-f<force>]" | 2557 | "[-d<delay>] [-n<nosync>] [-f<force>]" |
| 2555 | #define reboot_full_usage \ | 2558 | #define reboot_full_usage \ |
| 2556 | "Reboot the system.\n" \ | 2559 | "Reboot the system" \ |
| 2557 | "Options:\n" \ | 2560 | "\n\nOptions:\n" \ |
| 2558 | " -d delay interval for rebooting\n" \ | 2561 | " -d delay interval for rebooting\n" \ |
| 2559 | " -n no call to sync()\n" \ | 2562 | " -n no call to sync()\n" \ |
| 2560 | " -f force reboot (don't go through init)" | 2563 | " -f force reboot (don't go through init)" |
| @@ -2562,8 +2565,8 @@ | |||
| 2562 | #define renice_trivial_usage \ | 2565 | #define renice_trivial_usage \ |
| 2563 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" | 2566 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" |
| 2564 | #define renice_full_usage \ | 2567 | #define renice_full_usage \ |
| 2565 | "Changes priority of running processes.\n\n" \ | 2568 | "Changes priority of running processes" \ |
| 2566 | "Options:\n" \ | 2569 | "\n\nOptions:\n" \ |
| 2567 | " -n adjusts current nice value (smaller is faster)\n" \ | 2570 | " -n adjusts current nice value (smaller is faster)\n" \ |
| 2568 | " -p process id(s) (default)\n" \ | 2571 | " -p process id(s) (default)\n" \ |
| 2569 | " -g process group id(s)\n" \ | 2572 | " -g process group id(s)\n" \ |
| @@ -2583,8 +2586,8 @@ | |||
| 2583 | "[OPTION]... FILE..." | 2586 | "[OPTION]... FILE..." |
| 2584 | #define rm_full_usage \ | 2587 | #define rm_full_usage \ |
| 2585 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ | 2588 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ |
| 2586 | "indicate that all following arguments are non-options.\n\n" \ | 2589 | "indicate that all following arguments are non-options." \ |
| 2587 | "Options:\n" \ | 2590 | "\n\nOptions:\n" \ |
| 2588 | " -i always prompt before removing each destination\n" \ | 2591 | " -i always prompt before removing each destination\n" \ |
| 2589 | " -f remove existing destinations, never prompt\n" \ | 2592 | " -f remove existing destinations, never prompt\n" \ |
| 2590 | " -r,-R remove the contents of directories recursively" | 2593 | " -r,-R remove the contents of directories recursively" |
| @@ -2601,8 +2604,8 @@ | |||
| 2601 | #define rmmod_trivial_usage \ | 2604 | #define rmmod_trivial_usage \ |
| 2602 | "[OPTION]... [MODULE]..." | 2605 | "[OPTION]... [MODULE]..." |
| 2603 | #define rmmod_full_usage \ | 2606 | #define rmmod_full_usage \ |
| 2604 | "Unloads the specified kernel modules from the kernel.\n\n" \ | 2607 | "Unloads the specified kernel modules from the kernel" \ |
| 2605 | "Options:\n" \ | 2608 | "\n\nOptions:\n" \ |
| 2606 | " -a Remove all unused modules (recursively)" | 2609 | " -a Remove all unused modules (recursively)" |
| 2607 | #define rmmod_example_usage \ | 2610 | #define rmmod_example_usage \ |
| 2608 | "$ rmmod tulip\n" | 2611 | "$ rmmod tulip\n" |
| @@ -2610,8 +2613,8 @@ | |||
| 2610 | #define route_trivial_usage \ | 2613 | #define route_trivial_usage \ |
| 2611 | "[{add|del|delete}]" | 2614 | "[{add|del|delete}]" |
| 2612 | #define route_full_usage \ | 2615 | #define route_full_usage \ |
| 2613 | "Edit the kernel's routing tables.\n\n" \ | 2616 | "Edit the kernel's routing tables" \ |
| 2614 | "Options:\n" \ | 2617 | "\n\nOptions:\n" \ |
| 2615 | " -n Dont resolve names\n" \ | 2618 | " -n Dont resolve names\n" \ |
| 2616 | " -e Display other/more information\n" \ | 2619 | " -e Display other/more information\n" \ |
| 2617 | " -A inet" USE_FEATURE_IPV6("{6}") " Select address family" | 2620 | " -A inet" USE_FEATURE_IPV6("{6}") " Select address family" |
| @@ -2621,13 +2624,13 @@ | |||
| 2621 | #define rpm_full_usage \ | 2624 | #define rpm_full_usage \ |
| 2622 | "Manipulates RPM packages" \ | 2625 | "Manipulates RPM packages" \ |
| 2623 | "\n\nOptions:" \ | 2626 | "\n\nOptions:" \ |
| 2624 | "\n -i Install package" \ | 2627 | "\n -i Install package" \ |
| 2625 | "\n -q Query package" \ | 2628 | "\n -q Query package" \ |
| 2626 | "\n -p Query uninstalled package" \ | 2629 | "\n -p Query uninstalled package" \ |
| 2627 | "\n -i Show information" \ | 2630 | "\n -i Show information" \ |
| 2628 | "\n -l List contents" \ | 2631 | "\n -l List contents" \ |
| 2629 | "\n -d List documents" \ | 2632 | "\n -d List documents" \ |
| 2630 | "\n -c List config files" | 2633 | "\n -c List config files" |
| 2631 | 2634 | ||
| 2632 | #define rpm2cpio_trivial_usage \ | 2635 | #define rpm2cpio_trivial_usage \ |
| 2633 | "package.rpm" | 2636 | "package.rpm" |
| @@ -2637,8 +2640,8 @@ | |||
| 2637 | #define run_parts_trivial_usage \ | 2640 | #define run_parts_trivial_usage \ |
| 2638 | "[-t] [-a ARG] [-u MASK] DIRECTORY" | 2641 | "[-t] [-a ARG] [-u MASK] DIRECTORY" |
| 2639 | #define run_parts_full_usage \ | 2642 | #define run_parts_full_usage \ |
| 2640 | "Run a bunch of scripts in a directory.\n\n" \ | 2643 | "Run a bunch of scripts in a directory" \ |
| 2641 | "Options:\n" \ | 2644 | "\n\nOptions:\n" \ |
| 2642 | " -t Prints what would be run, but does not actually run anything\n" \ | 2645 | " -t Prints what would be run, but does not actually run anything\n" \ |
| 2643 | " -a ARG Pass ARG as an argument for every program invoked\n" \ | 2646 | " -a ARG Pass ARG as an argument for every program invoked\n" \ |
| 2644 | " -u MASK Set the umask to MASK before executing every program" | 2647 | " -u MASK Set the umask to MASK before executing every program" |
| @@ -2703,8 +2706,8 @@ | |||
| 2703 | #define setconsole_trivial_usage \ | 2706 | #define setconsole_trivial_usage \ |
| 2704 | "[-r|--reset] [DEVICE]" | 2707 | "[-r|--reset] [DEVICE]" |
| 2705 | #define setconsole_full_usage \ | 2708 | #define setconsole_full_usage \ |
| 2706 | "Redirects system console output to DEVICE (default: /dev/tty).\n\n" \ | 2709 | "Redirects system console output to DEVICE (default: /dev/tty)" \ |
| 2707 | "Options:\n" \ | 2710 | "\n\nOptions:\n" \ |
| 2708 | " -r Reset output to /dev/console." | 2711 | " -r Reset output to /dev/console." |
| 2709 | 2712 | ||
| 2710 | #define setkeycodes_trivial_usage \ | 2713 | #define setkeycodes_trivial_usage \ |
| @@ -2751,10 +2754,10 @@ | |||
| 2751 | "[OPTION] [FILEs...]" \ | 2754 | "[OPTION] [FILEs...]" \ |
| 2752 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTION] -c [FILE]") | 2755 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTION] -c [FILE]") |
| 2753 | #define sha1sum_full_usage \ | 2756 | #define sha1sum_full_usage \ |
| 2754 | "Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums.\n\n" \ | 2757 | "Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums.\n" \ |
| 2755 | "Options:\n" \ | ||
| 2756 | "With no FILE, or when FILE is -, read standard input." \ | 2758 | "With no FILE, or when FILE is -, read standard input." \ |
| 2757 | USE_FEATURE_MD5_SHA1_SUM_CHECK("\n\n" \ | 2759 | "\n\nOptions:\n" \ |
| 2760 | USE_FEATURE_MD5_SHA1_SUM_CHECK( \ | ||
| 2758 | " -c check SHA1 sums against given list\n" \ | 2761 | " -c check SHA1 sums against given list\n" \ |
| 2759 | "\nThe following two options are useful only when verifying checksums:\n" \ | 2762 | "\nThe following two options are useful only when verifying checksums:\n" \ |
| 2760 | " -s don't output anything, status code shows success\n" \ | 2763 | " -s don't output anything, status code shows success\n" \ |
| @@ -2779,8 +2782,8 @@ | |||
| 2779 | USE_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") \ | 2782 | USE_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") \ |
| 2780 | "] [FILE]..." | 2783 | "] [FILE]..." |
| 2781 | #define sort_full_usage \ | 2784 | #define sort_full_usage \ |
| 2782 | "Sorts lines of text in the specified files\n\n" \ | 2785 | "Sorts lines of text in the specified files" \ |
| 2783 | "Options:\n" \ | 2786 | "\n\nOptions:\n" \ |
| 2784 | USE_FEATURE_SORT_BIG( \ | 2787 | USE_FEATURE_SORT_BIG( \ |
| 2785 | " -b ignore leading blanks\n" \ | 2788 | " -b ignore leading blanks\n" \ |
| 2786 | " -c check whether input is sorted\n" \ | 2789 | " -c check whether input is sorted\n" \ |
| @@ -2846,8 +2849,8 @@ | |||
| 2846 | #define stat_trivial_usage \ | 2849 | #define stat_trivial_usage \ |
| 2847 | "[OPTION] FILE..." | 2850 | "[OPTION] FILE..." |
| 2848 | #define stat_full_usage \ | 2851 | #define stat_full_usage \ |
| 2849 | "display file (default) or filesystem status.\n\n" \ | 2852 | "Display file (default) or filesystem status" \ |
| 2850 | "Options:\n" \ | 2853 | "\n\nOptions:\n" \ |
| 2851 | USE_FEATURE_STAT_FORMAT( \ | 2854 | USE_FEATURE_STAT_FORMAT( \ |
| 2852 | " -c fmt use the specified format\n") \ | 2855 | " -c fmt use the specified format\n") \ |
| 2853 | " -f display filesystem status\n" \ | 2856 | " -f display filesystem status\n" \ |
| @@ -2920,24 +2923,24 @@ | |||
| 2920 | #define su_trivial_usage \ | 2923 | #define su_trivial_usage \ |
| 2921 | "[OPTION]... [-] [username]" | 2924 | "[OPTION]... [-] [username]" |
| 2922 | #define su_full_usage \ | 2925 | #define su_full_usage \ |
| 2923 | "Change user id or become root.\n" \ | 2926 | "Change user id or become root" \ |
| 2924 | "Options:\n" \ | 2927 | "\n\nOptions:" \ |
| 2925 | " -p, -m Preserve environment" \ | 2928 | "\n -p, -m Preserve environment" \ |
| 2926 | "\n -c Command to pass to 'sh -c'" \ | 2929 | "\n -c Command to pass to 'sh -c'" \ |
| 2927 | "\n -s Shell to use instead of default shell" | 2930 | "\n -s Shell to use instead of default shell" |
| 2928 | 2931 | ||
| 2929 | #define sulogin_trivial_usage \ | 2932 | #define sulogin_trivial_usage \ |
| 2930 | "[OPTION]... [tty-device]" | 2933 | "[OPTION]... [tty-device]" |
| 2931 | #define sulogin_full_usage \ | 2934 | #define sulogin_full_usage \ |
| 2932 | "Single user login\n" \ | 2935 | "Single user login" \ |
| 2933 | "Options:\n" \ | 2936 | "\n\nOptions:" \ |
| 2934 | " -t Timeout" | 2937 | "\n -t Timeout" |
| 2935 | 2938 | ||
| 2936 | #define sum_trivial_usage \ | 2939 | #define sum_trivial_usage \ |
| 2937 | "[rs] [files...]" | 2940 | "[rs] [files...]" |
| 2938 | #define sum_full_usage \ | 2941 | #define sum_full_usage \ |
| 2939 | "checksum and count the blocks in a file\n\n" \ | 2942 | "Checksum and count the blocks in a file" \ |
| 2940 | "Options:\n" \ | 2943 | "\n\nOptions:\n" \ |
| 2941 | " -r use BSD sum algorithm (1K blocks)\n" \ | 2944 | " -r use BSD sum algorithm (1K blocks)\n" \ |
| 2942 | " -s use System V sum algorithm (512byte blocks)" | 2945 | " -s use System V sum algorithm (512byte blocks)" |
| 2943 | 2946 | ||
| @@ -2957,23 +2960,23 @@ | |||
| 2957 | #define swapoff_trivial_usage \ | 2960 | #define swapoff_trivial_usage \ |
| 2958 | "[-a] [DEVICE]" | 2961 | "[-a] [DEVICE]" |
| 2959 | #define swapoff_full_usage \ | 2962 | #define swapoff_full_usage \ |
| 2960 | "Stop swapping virtual memory pages on DEVICE.\n\n" \ | 2963 | "Stop swapping virtual memory pages on DEVICE" \ |
| 2961 | "Options:\n" \ | 2964 | "\n\nOptions:\n" \ |
| 2962 | " -a Stop swapping on all swap devices" | 2965 | " -a Stop swapping on all swap devices" |
| 2963 | 2966 | ||
| 2964 | #define swapon_trivial_usage \ | 2967 | #define swapon_trivial_usage \ |
| 2965 | "[-a] [DEVICE]" | 2968 | "[-a] [DEVICE]" |
| 2966 | #define swapon_full_usage \ | 2969 | #define swapon_full_usage \ |
| 2967 | "Start swapping virtual memory pages on DEVICE.\n\n" \ | 2970 | "Start swapping virtual memory pages on DEVICE" \ |
| 2968 | "Options:\n" \ | 2971 | "\n\nOptions:\n" \ |
| 2969 | " -a Start swapping on all swap devices" | 2972 | " -a Start swapping on all swap devices" |
| 2970 | 2973 | ||
| 2971 | #define switch_root_trivial_usage \ | 2974 | #define switch_root_trivial_usage \ |
| 2972 | "[-c /dev/console] NEW_ROOT NEW_INIT [ARGUMENTS_TO_INIT]" | 2975 | "[-c /dev/console] NEW_ROOT NEW_INIT [ARGUMENTS_TO_INIT]" |
| 2973 | #define switch_root_full_usage \ | 2976 | #define switch_root_full_usage \ |
| 2974 | "Use from PID 1 under initramfs to free initramfs, chroot to NEW_ROOT,\n" \ | 2977 | "Use from PID 1 under initramfs to free initramfs, chroot to NEW_ROOT,\n" \ |
| 2975 | "and exec NEW_INIT.\n\n" \ | 2978 | "and exec NEW_INIT" \ |
| 2976 | "Options:\n" \ | 2979 | "\n\nOptions:\n" \ |
| 2977 | " -c Redirect console to device on new root" | 2980 | " -c Redirect console to device on new root" |
| 2978 | 2981 | ||
| 2979 | #define sync_trivial_usage \ | 2982 | #define sync_trivial_usage \ |
| @@ -2984,8 +2987,8 @@ | |||
| 2984 | #define sysctl_trivial_usage \ | 2987 | #define sysctl_trivial_usage \ |
| 2985 | "[OPTIONS]... [VALUE]..." | 2988 | "[OPTIONS]... [VALUE]..." |
| 2986 | #define sysctl_full_usage \ | 2989 | #define sysctl_full_usage \ |
| 2987 | "configure kernel parameters at runtime\n\n" \ | 2990 | "Configure kernel parameters at runtime" \ |
| 2988 | "Options:\n" \ | 2991 | "\n\nOptions:\n" \ |
| 2989 | " -n Use this option to disable printing of the key name when printing values\n" \ | 2992 | " -n Use this option to disable printing of the key name when printing values\n" \ |
| 2990 | " -w Use this option when you want to change a sysctl setting\n" \ | 2993 | " -w Use this option when you want to change a sysctl setting\n" \ |
| 2991 | " -p Load in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ | 2994 | " -p Load in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ |
| @@ -3002,13 +3005,13 @@ | |||
| 3002 | "[OPTION]..." | 3005 | "[OPTION]..." |
| 3003 | #define syslogd_full_usage \ | 3006 | #define syslogd_full_usage \ |
| 3004 | "Linux system and kernel logging utility.\n" \ | 3007 | "Linux system and kernel logging utility.\n" \ |
| 3005 | "Note that this version of syslogd ignores /etc/syslog.conf.\n\n" \ | 3008 | "Note that this version of syslogd ignores /etc/syslog.conf." \ |
| 3006 | "Options:\n" \ | 3009 | "\n\nOptions:" \ |
| 3007 | " -m MIN Minutes between MARK lines (default=20, 0=off)\n" \ | 3010 | "\n -m MIN Minutes between MARK lines (default=20, 0=off)" \ |
| 3008 | " -n Run as a foreground process\n" \ | 3011 | "\n -n Run as a foreground process" \ |
| 3009 | " -O FILE Use an alternate log file (default=/var/log/messages)\n" \ | 3012 | "\n -O FILE Use an alternate log file (default=/var/log/messages)" \ |
| 3010 | " -l n Sets the local log level of messages to n\n" \ | 3013 | "\n -l n Sets the local log level of messages to n" \ |
| 3011 | " -S Make logging output smaller" \ | 3014 | "\n -S Make logging output smaller" \ |
| 3012 | USE_FEATURE_ROTATE_LOGFILE( \ | 3015 | USE_FEATURE_ROTATE_LOGFILE( \ |
| 3013 | "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ | 3016 | "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ |
| 3014 | "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ | 3017 | "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ |
| @@ -3026,16 +3029,17 @@ | |||
| 3026 | #define tail_full_usage \ | 3029 | #define tail_full_usage \ |
| 3027 | "Print last 10 lines of each FILE to standard output.\n" \ | 3030 | "Print last 10 lines of each FILE to standard output.\n" \ |
| 3028 | "With more than one FILE, precede each with a header giving the\n" \ | 3031 | "With more than one FILE, precede each with a header giving the\n" \ |
| 3029 | "file name. With no FILE, or when FILE is -, read standard input.\n\n" \ | 3032 | "file name. With no FILE, or when FILE is -, read standard input." \ |
| 3030 | "Options:\n" \ | 3033 | "\n\nOptions:" \ |
| 3031 | USE_FEATURE_FANCY_TAIL( \ | 3034 | USE_FEATURE_FANCY_TAIL( \ |
| 3032 | " -c N[kbm] output the last N bytes\n") \ | 3035 | "\n -c N[kbm] output the last N bytes") \ |
| 3033 | " -n N[kbm] print last N lines instead of last 10\n" \ | 3036 | "\n -n N[kbm] print last N lines instead of last 10" \ |
| 3034 | " -f output data as the file grows" \ | 3037 | "\n -f output data as the file grows" \ |
| 3035 | USE_FEATURE_FANCY_TAIL( \ | 3038 | USE_FEATURE_FANCY_TAIL( \ |
| 3036 | "\n -q never output headers giving file names\n" \ | 3039 | "\n -q never output headers giving file names" \ |
| 3037 | " -s SEC wait SEC seconds between reads with -f\n" \ | 3040 | "\n -s SEC wait SEC seconds between reads with -f" \ |
| 3038 | " -v always output headers giving file names\n\n" \ | 3041 | "\n -v always output headers giving file names" \ |
| 3042 | "\n\n" \ | ||
| 3039 | "If the first character of N (bytes or lines) is a '+', output begins with\n" \ | 3043 | "If the first character of N (bytes or lines) is a '+', output begins with\n" \ |
| 3040 | "the Nth item from the start of each file, otherwise, print the last N items\n" \ | 3044 | "the Nth item from the start of each file, otherwise, print the last N items\n" \ |
| 3041 | "in the file. N bytes may be suffixed by k (x1024), b (x512), or m (1024^2)." ) | 3045 | "in the file. N bytes may be suffixed by k (x1024), b (x512), or m (1024^2)." ) |
| @@ -3050,8 +3054,8 @@ | |||
| 3050 | USE_FEATURE_TAR_FROM("[-X FILE] ") \ | 3054 | USE_FEATURE_TAR_FROM("[-X FILE] ") \ |
| 3051 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." | 3055 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." |
| 3052 | #define tar_full_usage \ | 3056 | #define tar_full_usage \ |
| 3053 | "Create, extract, or list files from a tar file.\n\n" \ | 3057 | "Create, extract, or list files from a tar file" \ |
| 3054 | "Options:\n" \ | 3058 | "\n\nOptions:\n" \ |
| 3055 | USE_FEATURE_TAR_CREATE( \ | 3059 | USE_FEATURE_TAR_CREATE( \ |
| 3056 | " c create\n") \ | 3060 | " c create\n") \ |
| 3057 | " x extract\n" \ | 3061 | " x extract\n" \ |
| @@ -3078,27 +3082,27 @@ | |||
| 3078 | "$ tar -cf /tmp/tarball.tar /usr/local\n" | 3082 | "$ tar -cf /tmp/tarball.tar /usr/local\n" |
| 3079 | 3083 | ||
| 3080 | #define taskset_trivial_usage \ | 3084 | #define taskset_trivial_usage \ |
| 3081 | "[OPTIONS] [mask] [pid | command [arg]...]" | 3085 | "[OPTIONS] [mask] [pid | command [arg]...]" |
| 3082 | #define taskset_full_usage \ | 3086 | #define taskset_full_usage \ |
| 3083 | "Set or get CPU affinity.\n\n" \ | 3087 | "Set or get CPU affinity" \ |
| 3084 | "Options:\n" \ | 3088 | "\n\nOptions:\n" \ |
| 3085 | " -p operate on an existing PID" | 3089 | " -p operate on an existing PID" |
| 3086 | #define taskset_example_usage \ | 3090 | #define taskset_example_usage \ |
| 3087 | "$ taskset 0x7 ./dgemm_test&\n" \ | 3091 | "$ taskset 0x7 ./dgemm_test&\n" \ |
| 3088 | "$ taskset -p 0x1 $!\n" \ | 3092 | "$ taskset -p 0x1 $!\n" \ |
| 3089 | "pid 4790's current affinity mask: 7\n" \ | 3093 | "pid 4790's current affinity mask: 7\n" \ |
| 3090 | "pid 4790's new affinity mask: 1\n" \ | 3094 | "pid 4790's new affinity mask: 1\n" \ |
| 3091 | "$ taskset 0x7 /bin/sh -c './taskset -p 0x1 $$'\n" \ | 3095 | "$ taskset 0x7 /bin/sh -c './taskset -p 0x1 $$'\n" \ |
| 3092 | "pid 6671's current affinity mask: 1\n" \ | 3096 | "pid 6671's current affinity mask: 1\n" \ |
| 3093 | "pid 6671's new affinity mask: 1\n" \ | 3097 | "pid 6671's new affinity mask: 1\n" \ |
| 3094 | "$ taskset -p 1\n" | 3098 | "$ taskset -p 1\n" \ |
| 3095 | "pid 1's current affinity mask: 3\n" | 3099 | "pid 1's current affinity mask: 3\n" |
| 3096 | 3100 | ||
| 3097 | #define tee_trivial_usage \ | 3101 | #define tee_trivial_usage \ |
| 3098 | "[OPTION]... [FILE]..." | 3102 | "[OPTION]... [FILE]..." |
| 3099 | #define tee_full_usage \ | 3103 | #define tee_full_usage \ |
| 3100 | "Copy standard input to each FILE, and also to standard output.\n\n" \ | 3104 | "Copy standard input to each FILE, and also to standard output" \ |
| 3101 | "Options:\n" \ | 3105 | "\n\nOptions:\n" \ |
| 3102 | " -a append to the given FILEs, do not overwrite\n" \ | 3106 | " -a append to the given FILEs, do not overwrite\n" \ |
| 3103 | " -i ignore interrupt signals (SIGINT)" | 3107 | " -i ignore interrupt signals (SIGINT)" |
| 3104 | #define tee_example_usage \ | 3108 | #define tee_example_usage \ |
| @@ -3111,8 +3115,8 @@ | |||
| 3111 | "[-a] [-l USER] HOST [PORT]" | 3115 | "[-a] [-l USER] HOST [PORT]" |
| 3112 | #define telnet_full_usage \ | 3116 | #define telnet_full_usage \ |
| 3113 | "Telnet is used to establish interactive communication with another\n" \ | 3117 | "Telnet is used to establish interactive communication with another\n" \ |
| 3114 | "computer over a network using the TELNET protocol.\n\n" \ | 3118 | "computer over a network using the TELNET protocol" \ |
| 3115 | "Options:\n" \ | 3119 | "\n\nOptions:\n" \ |
| 3116 | " -a Attempt an automatic login with the USER variable\n" \ | 3120 | " -a Attempt an automatic login with the USER variable\n" \ |
| 3117 | " -l USER Attempt an automatic login with the USER argument\n" \ | 3121 | " -l USER Attempt an automatic login with the USER argument\n" \ |
| 3118 | " HOST The official name, alias or the IP address of the\n" \ | 3122 | " HOST The official name, alias or the IP address of the\n" \ |
| @@ -3131,8 +3135,8 @@ | |||
| 3131 | #define telnetd_trivial_usage \ | 3135 | #define telnetd_trivial_usage \ |
| 3132 | "[OPTION]" | 3136 | "[OPTION]" |
| 3133 | #define telnetd_full_usage \ | 3137 | #define telnetd_full_usage \ |
| 3134 | "Telnetd listens for incoming TELNET connections on PORT.\n" \ | 3138 | "Telnetd listens for incoming TELNET connections on PORT" \ |
| 3135 | "Options:\n" \ | 3139 | "\n\nOptions:\n" \ |
| 3136 | " -p PORT listen for connections on PORT (default 23)\n" \ | 3140 | " -p PORT listen for connections on PORT (default 23)\n" \ |
| 3137 | " -l LOGIN exec LOGIN on connect\n" \ | 3141 | " -l LOGIN exec LOGIN on connect\n" \ |
| 3138 | " -f issue_file Display issue_file instead of /etc/issue\n" \ | 3142 | " -f issue_file Display issue_file instead of /etc/issue\n" \ |
| @@ -3142,10 +3146,17 @@ | |||
| 3142 | #define telnetd_trivial_usage \ | 3146 | #define telnetd_trivial_usage \ |
| 3143 | "[OPTION]" | 3147 | "[OPTION]" |
| 3144 | #define telnetd_full_usage \ | 3148 | #define telnetd_full_usage \ |
| 3145 | "Telnetd uses incoming TELNET connections via inetd.\n" \ | 3149 | "Telnetd uses incoming TELNET connections" \ |
| 3146 | "Options:\n" \ | 3150 | SKIP_FEATURE_TELNETD_STANDALONE(" via inetd") \ |
| 3147 | " -l LOGIN exec LOGIN on connect\n" \ | 3151 | "\n\nOptions:" \ |
| 3148 | " -f issue_file Display issue_file instead of /etc/issue" | 3152 | "\n -l LOGIN exec LOGIN on connect" \ |
| 3153 | "\n -f issue_file Display issue_file instead of /etc/issue" \ | ||
| 3154 | USE_FEATURE_TELNETD_STANDALONE( \ | ||
| 3155 | "\n -p PORT port to listen to" \ | ||
| 3156 | "\n -b ADDR address to bind to" \ | ||
| 3157 | "\n -F stay in foreground" \ | ||
| 3158 | "\n -i inetd subservice" \ | ||
| 3159 | ) | ||
| 3149 | #endif | 3160 | #endif |
| 3150 | 3161 | ||
| 3151 | #define test_trivial_usage \ | 3162 | #define test_trivial_usage \ |
| @@ -3170,10 +3181,10 @@ | |||
| 3170 | #define tftp_trivial_usage \ | 3181 | #define tftp_trivial_usage \ |
| 3171 | "[OPTION]... HOST [PORT]" | 3182 | "[OPTION]... HOST [PORT]" |
| 3172 | #define tftp_full_usage \ | 3183 | #define tftp_full_usage \ |
| 3173 | "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \ | 3184 | "Transfers a file from/to a tftp server using \"octet\" mode" \ |
| 3174 | "Options:\n" \ | 3185 | "\n\nOptions:" \ |
| 3175 | " -l FILE Local FILE\n" \ | 3186 | "\n -l FILE Local FILE" \ |
| 3176 | " -r FILE Remote FILE" \ | 3187 | "\n -r FILE Remote FILE" \ |
| 3177 | USE_FEATURE_TFTP_GET( \ | 3188 | USE_FEATURE_TFTP_GET( \ |
| 3178 | "\n -g Get file" \ | 3189 | "\n -g Get file" \ |
| 3179 | ) \ | 3190 | ) \ |
| @@ -3187,8 +3198,8 @@ | |||
| 3187 | "[OPTION]... COMMAND [ARGS...]" | 3198 | "[OPTION]... COMMAND [ARGS...]" |
| 3188 | #define time_full_usage \ | 3199 | #define time_full_usage \ |
| 3189 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ | 3200 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ |
| 3190 | "COMMAND's resource usage information is displayed\n\n" \ | 3201 | "COMMAND's resource usage information is displayed." \ |
| 3191 | "Options:\n" \ | 3202 | "\n\nOptions:\n" \ |
| 3192 | " -v Displays verbose resource usage information" | 3203 | " -v Displays verbose resource usage information" |
| 3193 | 3204 | ||
| 3194 | #define top_trivial_usage \ | 3205 | #define top_trivial_usage \ |
| @@ -3201,8 +3212,8 @@ | |||
| 3201 | #define touch_trivial_usage \ | 3212 | #define touch_trivial_usage \ |
| 3202 | "[-c] FILE [FILE ...]" | 3213 | "[-c] FILE [FILE ...]" |
| 3203 | #define touch_full_usage \ | 3214 | #define touch_full_usage \ |
| 3204 | "Update the last-modified date on the given FILE[s].\n\n" \ | 3215 | "Update the last-modified date on the given FILE[s]" \ |
| 3205 | "Options:\n" \ | 3216 | "\n\nOptions:\n" \ |
| 3206 | " -c Do not create any files" | 3217 | " -c Do not create any files" |
| 3207 | #define touch_example_usage \ | 3218 | #define touch_example_usage \ |
| 3208 | "$ ls -l /tmp/foo\n" \ | 3219 | "$ ls -l /tmp/foo\n" \ |
| @@ -3215,8 +3226,8 @@ | |||
| 3215 | "[-cds] STRING1 [STRING2]" | 3226 | "[-cds] STRING1 [STRING2]" |
| 3216 | #define tr_full_usage \ | 3227 | #define tr_full_usage \ |
| 3217 | "Translate, squeeze, and/or delete characters from\n" \ | 3228 | "Translate, squeeze, and/or delete characters from\n" \ |
| 3218 | "standard input, writing to standard output.\n\n" \ | 3229 | "standard input, writing to standard output" \ |
| 3219 | "Options:\n" \ | 3230 | "\n\nOptions:\n" \ |
| 3220 | " -c take complement of STRING1\n" \ | 3231 | " -c take complement of STRING1\n" \ |
| 3221 | " -d delete input characters coded STRING1\n" \ | 3232 | " -d delete input characters coded STRING1\n" \ |
| 3222 | " -s squeeze multiple output characters of STRING2 into one character" | 3233 | " -s squeeze multiple output characters of STRING2 into one character" |
| @@ -3229,8 +3240,8 @@ | |||
| 3229 | " [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ | 3240 | " [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ |
| 3230 | " [-z pausemsecs] host [data size]" | 3241 | " [-z pausemsecs] host [data size]" |
| 3231 | #define traceroute_full_usage \ | 3242 | #define traceroute_full_usage \ |
| 3232 | "trace the route ip packets follow going to \"host\"\n" \ | 3243 | "Trace the route ip packets follow going to \"host\"" \ |
| 3233 | "Options:\n" \ | 3244 | "\n\nOptions:\n" \ |
| 3234 | " -F Set the don't fragment bit\n" \ | 3245 | " -F Set the don't fragment bit\n" \ |
| 3235 | " -I Use ICMP ECHO instead of UDP datagrams\n" \ | 3246 | " -I Use ICMP ECHO instead of UDP datagrams\n" \ |
| 3236 | " -l Display the ttl value of the returned packet\n" \ | 3247 | " -l Display the ttl value of the returned packet\n" \ |
| @@ -3263,8 +3274,8 @@ | |||
| 3263 | #define tty_trivial_usage \ | 3274 | #define tty_trivial_usage \ |
| 3264 | "" | 3275 | "" |
| 3265 | #define tty_full_usage \ | 3276 | #define tty_full_usage \ |
| 3266 | "Print the file name of the terminal connected to standard input.\n\n" \ | 3277 | "Print the file name of the terminal connected to standard input" \ |
| 3267 | "Options:\n" \ | 3278 | "\n\nOptions:\n" \ |
| 3268 | " -s print nothing, only return an exit status" | 3279 | " -s print nothing, only return an exit status" |
| 3269 | #define tty_example_usage \ | 3280 | #define tty_example_usage \ |
| 3270 | "$ tty\n" \ | 3281 | "$ tty\n" \ |
| @@ -3324,8 +3335,8 @@ | |||
| 3324 | #define uname_trivial_usage \ | 3335 | #define uname_trivial_usage \ |
| 3325 | "[OPTION]..." | 3336 | "[OPTION]..." |
| 3326 | #define uname_full_usage \ | 3337 | #define uname_full_usage \ |
| 3327 | "Print certain system information. With no OPTION, same as -s.\n\n" \ | 3338 | "Print certain system information. With no OPTION, same as -s." \ |
| 3328 | "Options:\n" \ | 3339 | "\n\nOptions:\n" \ |
| 3329 | " -a print all information\n" \ | 3340 | " -a print all information\n" \ |
| 3330 | " -m the machine (hardware) type\n" \ | 3341 | " -m the machine (hardware) type\n" \ |
| 3331 | " -n print the machine's network node hostname\n" \ | 3342 | " -n print the machine's network node hostname\n" \ |
| @@ -3340,8 +3351,8 @@ | |||
| 3340 | #define uncompress_trivial_usage \ | 3351 | #define uncompress_trivial_usage \ |
| 3341 | "[-c] [-f] [ name ... ]" | 3352 | "[-c] [-f] [ name ... ]" |
| 3342 | #define uncompress_full_usage \ | 3353 | #define uncompress_full_usage \ |
| 3343 | "Uncompress .Z file[s]\n" \ | 3354 | "Uncompress .Z file[s]" \ |
| 3344 | "Options:\n" \ | 3355 | "\n\nOptions:\n" \ |
| 3345 | " -c extract to stdout\n" \ | 3356 | " -c extract to stdout\n" \ |
| 3346 | " -f force overwrite an existing file" | 3357 | " -f force overwrite an existing file" |
| 3347 | 3358 | ||
| @@ -3349,8 +3360,8 @@ | |||
| 3349 | "[-fscdu]... [INPUT [OUTPUT]]" | 3360 | "[-fscdu]... [INPUT [OUTPUT]]" |
| 3350 | #define uniq_full_usage \ | 3361 | #define uniq_full_usage \ |
| 3351 | "Discard all but one of successive identical lines from INPUT\n" \ | 3362 | "Discard all but one of successive identical lines from INPUT\n" \ |
| 3352 | "(or standard input), writing to OUTPUT (or standard output).\n\n" \ | 3363 | "(or standard input), writing to OUTPUT (or standard output)" \ |
| 3353 | "Options:\n" \ | 3364 | "\n\nOptions:\n" \ |
| 3354 | " -c prefix lines by the number of occurrences\n" \ | 3365 | " -c prefix lines by the number of occurrences\n" \ |
| 3355 | " -d only print duplicate lines\n" \ | 3366 | " -d only print duplicate lines\n" \ |
| 3356 | " -u only print unique lines\n" \ | 3367 | " -u only print unique lines\n" \ |
| @@ -3367,16 +3378,16 @@ | |||
| 3367 | #define unix2dos_full_usage \ | 3378 | #define unix2dos_full_usage \ |
| 3368 | "Converts FILE from unix format to dos format. When no option\n" \ | 3379 | "Converts FILE from unix format to dos format. When no option\n" \ |
| 3369 | "is given, the input is converted to the opposite output format.\n" \ | 3380 | "is given, the input is converted to the opposite output format.\n" \ |
| 3370 | "When no file is given, uses stdin for input and stdout for output.\n" \ | 3381 | "When no file is given, uses stdin for input and stdout for output." \ |
| 3371 | "Options:\n" \ | 3382 | "\n\nOptions:\n" \ |
| 3372 | " -u output will be in UNIX format\n" \ | 3383 | " -u output will be in UNIX format\n" \ |
| 3373 | " -d output will be in DOS format" | 3384 | " -d output will be in DOS format" |
| 3374 | 3385 | ||
| 3375 | #define unzip_trivial_usage \ | 3386 | #define unzip_trivial_usage \ |
| 3376 | "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" | 3387 | "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" |
| 3377 | #define unzip_full_usage \ | 3388 | #define unzip_full_usage \ |
| 3378 | "Extracts files from ZIP archives.\n\n" \ | 3389 | "Extracts files from ZIP archives" \ |
| 3379 | "Options:\n" \ | 3390 | "\n\nOptions:\n" \ |
| 3380 | " -l list archive contents (short form)\n" \ | 3391 | " -l list archive contents (short form)\n" \ |
| 3381 | " -n never overwrite existing files (default)\n" \ | 3392 | " -n never overwrite existing files (default)\n" \ |
| 3382 | " -o overwrite files without prompting\n" \ | 3393 | " -o overwrite files without prompting\n" \ |
| @@ -3404,8 +3415,8 @@ | |||
| 3404 | #define uudecode_trivial_usage \ | 3415 | #define uudecode_trivial_usage \ |
| 3405 | "[FILE]..." | 3416 | "[FILE]..." |
| 3406 | #define uudecode_full_usage \ | 3417 | #define uudecode_full_usage \ |
| 3407 | "Uudecode a file that is uuencoded.\n\n" \ | 3418 | "Uudecode a file" \ |
| 3408 | "Options:\n" \ | 3419 | "\n\nOptions:\n" \ |
| 3409 | " -o FILE direct output to FILE" | 3420 | " -o FILE direct output to FILE" |
| 3410 | #define uudecode_example_usage \ | 3421 | #define uudecode_example_usage \ |
| 3411 | "$ uudecode -o busybox busybox.uu\n" \ | 3422 | "$ uudecode -o busybox busybox.uu\n" \ |
| @@ -3415,8 +3426,8 @@ | |||
| 3415 | #define uuencode_trivial_usage \ | 3426 | #define uuencode_trivial_usage \ |
| 3416 | "[OPTION] [INFILE] REMOTEFILE" | 3427 | "[OPTION] [INFILE] REMOTEFILE" |
| 3417 | #define uuencode_full_usage \ | 3428 | #define uuencode_full_usage \ |
| 3418 | "Uuencode a file.\n\n" \ | 3429 | "Uuencode a file" \ |
| 3419 | "Options:\n" \ | 3430 | "\n\nOptions:\n" \ |
| 3420 | " -m use base64 encoding per RFC1521" | 3431 | " -m use base64 encoding per RFC1521" |
| 3421 | #define uuencode_example_usage \ | 3432 | #define uuencode_example_usage \ |
| 3422 | "$ uuencode busybox busybox\n" \ | 3433 | "$ uuencode busybox busybox\n" \ |
| @@ -3428,8 +3439,8 @@ | |||
| 3428 | #define vconfig_trivial_usage \ | 3439 | #define vconfig_trivial_usage \ |
| 3429 | "COMMAND [OPTIONS] ..." | 3440 | "COMMAND [OPTIONS] ..." |
| 3430 | #define vconfig_full_usage \ | 3441 | #define vconfig_full_usage \ |
| 3431 | "vconfig lets you create and remove virtual ethernet devices.\n\n" \ | 3442 | "Create and remove virtual ethernet devices" \ |
| 3432 | "Options:\n" \ | 3443 | "\n\nOptions:\n" \ |
| 3433 | " add [interface-name] [vlan_id]\n" \ | 3444 | " add [interface-name] [vlan_id]\n" \ |
| 3434 | " rem [vlan-name]\n" \ | 3445 | " rem [vlan-name]\n" \ |
| 3435 | " set_flag [interface-name] [flag-num] [0 | 1]\n" \ | 3446 | " set_flag [interface-name] [flag-num] [0 | 1]\n" \ |
| @@ -3440,23 +3451,23 @@ | |||
| 3440 | #define vi_trivial_usage \ | 3451 | #define vi_trivial_usage \ |
| 3441 | "[OPTION] [FILE]..." | 3452 | "[OPTION] [FILE]..." |
| 3442 | #define vi_full_usage \ | 3453 | #define vi_full_usage \ |
| 3443 | "edit FILE.\n\n" \ | 3454 | "Edit FILE" \ |
| 3444 | "Options:\n" \ | 3455 | "\n\nOptions:\n" \ |
| 3445 | " -R Read-only- do not write to the file" | 3456 | " -R Read-only- do not write to the file" |
| 3446 | 3457 | ||
| 3447 | #define vlock_trivial_usage \ | 3458 | #define vlock_trivial_usage \ |
| 3448 | "[OPTIONS]" | 3459 | "[OPTIONS]" |
| 3449 | #define vlock_full_usage \ | 3460 | #define vlock_full_usage \ |
| 3450 | "Lock a virtual terminal. A password is required to unlock\n" \ | 3461 | "Lock a virtual terminal. A password is required to unlock." \ |
| 3451 | "Options:\n" \ | 3462 | "\n\nOptions:\n" \ |
| 3452 | " -a Lock all VTs" | 3463 | " -a Lock all VTs" |
| 3453 | 3464 | ||
| 3454 | #define watch_trivial_usage \ | 3465 | #define watch_trivial_usage \ |
| 3455 | "[-n <seconds>] [-t] COMMAND..." | 3466 | "[-n <seconds>] [-t] COMMAND..." |
| 3456 | #define watch_full_usage \ | 3467 | #define watch_full_usage \ |
| 3457 | "Executes a program periodically\n\n" \ | 3468 | "Executes a program periodically" \ |
| 3458 | "Options:\n" \ | 3469 | "\n\nOptions:\n" \ |
| 3459 | " -n Loop period in seconds - default is 2\n" | 3470 | " -n Loop period in seconds - default is 2\n" \ |
| 3460 | " -t Don't print header" | 3471 | " -t Don't print header" |
| 3461 | #define watch_example_usage \ | 3472 | #define watch_example_usage \ |
| 3462 | "$ watch date\n" \ | 3473 | "$ watch date\n" \ |
| @@ -3467,8 +3478,8 @@ | |||
| 3467 | #define watchdog_trivial_usage \ | 3478 | #define watchdog_trivial_usage \ |
| 3468 | "[-t <seconds>] [-F] DEV" | 3479 | "[-t <seconds>] [-F] DEV" |
| 3469 | #define watchdog_full_usage \ | 3480 | #define watchdog_full_usage \ |
| 3470 | "Periodically write to watchdog device DEV.\n" \ | 3481 | "Periodically write to watchdog device DEV" \ |
| 3471 | "Options:\n" \ | 3482 | "\n\nOptions:\n" \ |
| 3472 | " -t Timer period in seconds - default is 30\n" \ | 3483 | " -t Timer period in seconds - default is 30\n" \ |
| 3473 | " -F Stay in the foreground and don't fork" | 3484 | " -F Stay in the foreground and don't fork" |
| 3474 | 3485 | ||
| @@ -3476,8 +3487,8 @@ | |||
| 3476 | "[OPTION]... [FILE]..." | 3487 | "[OPTION]... [FILE]..." |
| 3477 | #define wc_full_usage \ | 3488 | #define wc_full_usage \ |
| 3478 | "Print line, word, and byte counts for each FILE, and a total line if\n" \ | 3489 | "Print line, word, and byte counts for each FILE, and a total line if\n" \ |
| 3479 | "more than one FILE is specified. With no FILE, read standard input.\n\n" \ | 3490 | "more than one FILE is specified. With no FILE, read standard input." \ |
| 3480 | "Options:\n" \ | 3491 | "\n\nOptions:\n" \ |
| 3481 | " -c print the byte counts\n" \ | 3492 | " -c print the byte counts\n" \ |
| 3482 | " -l print the newline counts\n" \ | 3493 | " -l print the newline counts\n" \ |
| 3483 | " -L print the length of the longest line\n" \ | 3494 | " -L print the length of the longest line\n" \ |
| @@ -3491,8 +3502,8 @@ | |||
| 3491 | " [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ | 3502 | " [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ |
| 3492 | " [-U|--user-agent agent] url" | 3503 | " [-U|--user-agent agent] url" |
| 3493 | #define wget_full_usage \ | 3504 | #define wget_full_usage \ |
| 3494 | "wget retrieves files via HTTP or FTP\n\n" \ | 3505 | "Retrieve files via HTTP or FTP" \ |
| 3495 | "Options:\n" \ | 3506 | "\n\nOptions:\n" \ |
| 3496 | " -c continue retrieval of aborted transfers\n" \ | 3507 | " -c continue retrieval of aborted transfers\n" \ |
| 3497 | " -q quiet mode - do not print\n" \ | 3508 | " -q quiet mode - do not print\n" \ |
| 3498 | " -P Set directory prefix to DIR\n" \ | 3509 | " -P Set directory prefix to DIR\n" \ |
| @@ -3521,8 +3532,8 @@ | |||
| 3521 | #define xargs_trivial_usage \ | 3532 | #define xargs_trivial_usage \ |
| 3522 | "[OPTIONS] [COMMAND] [ARGS...]" | 3533 | "[OPTIONS] [COMMAND] [ARGS...]" |
| 3523 | #define xargs_full_usage \ | 3534 | #define xargs_full_usage \ |
| 3524 | "Executes COMMAND on every item given by standard input.\n\n" \ | 3535 | "Executes COMMAND on every item given by standard input" \ |
| 3525 | "Options:\n" \ | 3536 | "\n\nOptions:\n" \ |
| 3526 | USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ | 3537 | USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ |
| 3527 | " -p Prompt the user about whether to run each command\n") \ | 3538 | " -p Prompt the user about whether to run each command\n") \ |
| 3528 | " -r Do not run command for empty read lines\n" \ | 3539 | " -r Do not run command for empty read lines\n" \ |
| @@ -3548,8 +3559,8 @@ | |||
| 3548 | #define zcip_trivial_usage \ | 3559 | #define zcip_trivial_usage \ |
| 3549 | "[OPTIONS] ifname script" | 3560 | "[OPTIONS] ifname script" |
| 3550 | #define zcip_full_usage \ | 3561 | #define zcip_full_usage \ |
| 3551 | "zcip manages a ZeroConf IPv4 link-local address.\n" \ | 3562 | "Manage a ZeroConf IPv4 link-local address" \ |
| 3552 | "Options:\n" \ | 3563 | "\n\nOptions:\n" \ |
| 3553 | " -f foreground mode\n" \ | 3564 | " -f foreground mode\n" \ |
| 3554 | " -q quit after address (no daemon)\n" \ | 3565 | " -q quit after address (no daemon)\n" \ |
| 3555 | " -r 169.254.x.x request this address first\n" \ | 3566 | " -r 169.254.x.x request this address first\n" \ |
