diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 17:40:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 17:40:16 +0000 |
commit | 7a50a64986758e0890e76411d5997c4a07d9c698 (patch) | |
tree | 59b0af01966d851b24a85558f3896fd31c5514da | |
parent | 765996aaea0ba6dafcb2c52504065e8c80d2cb92 (diff) | |
download | busybox-w32-7a50a64986758e0890e76411d5997c4a07d9c698.tar.gz busybox-w32-7a50a64986758e0890e76411d5997c4a07d9c698.tar.bz2 busybox-w32-7a50a64986758e0890e76411d5997c4a07d9c698.zip |
more usage message cleanups
-rw-r--r-- | include/usage.h | 316 |
1 files changed, 152 insertions, 164 deletions
diff --git a/include/usage.h b/include/usage.h index a9718d72d..5ec15fd10 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -14,14 +14,14 @@ | |||
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" \ | 17 | "Add a group to the system" \ |
18 | "\n\nOptions:\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" \ | 24 | "Add a user to the system" \ |
25 | "\n\nOptions:\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" \ |
@@ -34,7 +34,7 @@ | |||
34 | #define adjtimex_trivial_usage \ | 34 | #define adjtimex_trivial_usage \ |
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 | "Read and optionally set system timebase parameters.\n" \ |
38 | "See adjtimex(2)." \ | 38 | "See adjtimex(2)." \ |
39 | "\n\nOptions:\n" \ | 39 | "\n\nOptions:\n" \ |
40 | " -q quiet mode - do not print\n" \ | 40 | " -q quiet mode - do not print\n" \ |
@@ -89,8 +89,8 @@ | |||
89 | #define basename_trivial_usage \ | 89 | #define basename_trivial_usage \ |
90 | "FILE [SUFFIX]" | 90 | "FILE [SUFFIX]" |
91 | #define basename_full_usage \ | 91 | #define basename_full_usage \ |
92 | "Strips directory path and suffixes from FILE.\n" \ | 92 | "Strip directory path and suffixes from FILE.\n" \ |
93 | "If specified, also removes any trailing SUFFIX." | 93 | "If specified, also remove any trailing SUFFIX." |
94 | #define basename_example_usage \ | 94 | #define basename_example_usage \ |
95 | "$ basename /usr/local/bin/foo\n" \ | 95 | "$ basename /usr/local/bin/foo\n" \ |
96 | "foo\n" \ | 96 | "foo\n" \ |
@@ -113,7 +113,7 @@ | |||
113 | #define bzcat_trivial_usage \ | 113 | #define bzcat_trivial_usage \ |
114 | "FILE" | 114 | "FILE" |
115 | #define bzcat_full_usage \ | 115 | #define bzcat_full_usage \ |
116 | "Uncompress to stdout." | 116 | "Uncompress to stdout" |
117 | 117 | ||
118 | #define unlzma_trivial_usage \ | 118 | #define unlzma_trivial_usage \ |
119 | "[OPTION]... [FILE]" | 119 | "[OPTION]... [FILE]" |
@@ -126,7 +126,7 @@ | |||
126 | #define lzmacat_trivial_usage \ | 126 | #define lzmacat_trivial_usage \ |
127 | "FILE" | 127 | "FILE" |
128 | #define lzmacat_full_usage \ | 128 | #define lzmacat_full_usage \ |
129 | "Uncompress to stdout." | 129 | "Uncompress to stdout" |
130 | 130 | ||
131 | #define cal_trivial_usage \ | 131 | #define cal_trivial_usage \ |
132 | "[-jy] [[month] year]" | 132 | "[-jy] [[month] year]" |
@@ -139,7 +139,7 @@ | |||
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" \ | 142 | "Concatenate FILE(s) and print them to stdout" \ |
143 | "\n\nOptions:\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 \ |
@@ -157,7 +157,7 @@ | |||
157 | #define chattr_trivial_usage \ | 157 | #define chattr_trivial_usage \ |
158 | "[-R] [-+=AacDdijsStTu] [-v version] files..." | 158 | "[-R] [-+=AacDdijsStTu] [-v version] files..." |
159 | #define chattr_full_usage \ | 159 | #define chattr_full_usage \ |
160 | "change file attributes on an ext2 fs\n\n" \ | 160 | "Change file attributes on an ext2 fs\n\n" \ |
161 | "Modifiers:\n" \ | 161 | "Modifiers:\n" \ |
162 | " - remove attributes\n" \ | 162 | " - remove attributes\n" \ |
163 | " + add attributes\n" \ | 163 | " + add attributes\n" \ |
@@ -269,24 +269,24 @@ | |||
269 | #define setuidgid_trivial_usage \ | 269 | #define setuidgid_trivial_usage \ |
270 | "account prog args" | 270 | "account prog args" |
271 | #define setuidgid_full_usage \ | 271 | #define setuidgid_full_usage \ |
272 | "Sets uid and gid to account's uid and gid, removing all supplementary\n" \ | 272 | "Set uid and gid to account's uid and gid, removing all supplementary\n" \ |
273 | "groups, then runs prog" | 273 | "groups, then run prog" |
274 | #define envuidgid_trivial_usage \ | 274 | #define envuidgid_trivial_usage \ |
275 | "account prog args" | 275 | "account prog args" |
276 | #define envuidgid_full_usage \ | 276 | #define envuidgid_full_usage \ |
277 | "Sets $UID to account's uid and $GID to account's gid, then runs prog" | 277 | "Set $UID to account's uid and $GID to account's gid, then run prog" |
278 | #define envdir_trivial_usage \ | 278 | #define envdir_trivial_usage \ |
279 | "dir prog args" | 279 | "dir prog args" |
280 | #define envdir_full_usage \ | 280 | #define envdir_full_usage \ |
281 | "Sets various environment variables as specified by files\n" \ | 281 | "Set various environment variables as specified by files\n" \ |
282 | "in the directory dir, then runs prog" | 282 | "in the directory dir, then run prog" |
283 | #define softlimit_trivial_usage \ | 283 | #define softlimit_trivial_usage \ |
284 | "[-a allbytes] [-c corebytes] [-d databytes] [-f filebytes] " \ | 284 | "[-a allbytes] [-c corebytes] [-d databytes] [-f filebytes] " \ |
285 | "[-l lockbytes] [-m membytes] [-o openfiles] [-p processes] " \ | 285 | "[-l lockbytes] [-m membytes] [-o openfiles] [-p processes] " \ |
286 | "[-r residentbytes] [-s stackbytes] [-t cpusecs] prog args" | 286 | "[-r residentbytes] [-s stackbytes] [-t cpusecs] prog args" |
287 | #define softlimit_full_usage \ | 287 | #define softlimit_full_usage \ |
288 | "Sets soft resource limits as specified by options, then runs prog\n" \ | 288 | "Set soft resource limits, then run prog" \ |
289 | "\n" \ | 289 | "\n\nOptions:\n" \ |
290 | " -m n Same as -d n -s n -l n -a n\n" \ | 290 | " -m n Same as -d n -s n -l n -a n\n" \ |
291 | " -d n Limit the data segment per process to n bytes\n" \ | 291 | " -d n Limit the data segment per process to n bytes\n" \ |
292 | " -s n Limit the stack segment per process to n bytes\n" \ | 292 | " -s n Limit the stack segment per process to n bytes\n" \ |
@@ -309,7 +309,7 @@ | |||
309 | #define chroot_trivial_usage \ | 309 | #define chroot_trivial_usage \ |
310 | "NEWROOT [COMMAND...]" | 310 | "NEWROOT [COMMAND...]" |
311 | #define chroot_full_usage \ | 311 | #define chroot_full_usage \ |
312 | "Run COMMAND with root directory set to NEWROOT." | 312 | "Run COMMAND with root directory set to NEWROOT" |
313 | #define chroot_example_usage \ | 313 | #define chroot_example_usage \ |
314 | "$ ls -l /bin/ls\n" \ | 314 | "$ ls -l /bin/ls\n" \ |
315 | "lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ | 315 | "lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ |
@@ -321,17 +321,17 @@ | |||
321 | #define chvt_trivial_usage \ | 321 | #define chvt_trivial_usage \ |
322 | "N" | 322 | "N" |
323 | #define chvt_full_usage \ | 323 | #define chvt_full_usage \ |
324 | "Changes the foreground virtual terminal to /dev/ttyN" | 324 | "Change the foreground virtual terminal to /dev/ttyN" |
325 | 325 | ||
326 | #define cksum_trivial_usage \ | 326 | #define cksum_trivial_usage \ |
327 | "FILES..." | 327 | "FILES..." |
328 | #define cksum_full_usage \ | 328 | #define cksum_full_usage \ |
329 | "Calculates the CRC32 checksums of FILES." | 329 | "Calculate the CRC32 checksums of FILES" |
330 | 330 | ||
331 | #define clear_trivial_usage \ | 331 | #define clear_trivial_usage \ |
332 | "" | 332 | "" |
333 | #define clear_full_usage \ | 333 | #define clear_full_usage \ |
334 | "Clear screen." | 334 | "Clear screen" |
335 | 335 | ||
336 | #define cmp_trivial_usage \ | 336 | #define cmp_trivial_usage \ |
337 | "[-l] [-s] FILE1 [FILE2]" | 337 | "[-l] [-s] FILE1 [FILE2]" |
@@ -345,7 +345,7 @@ | |||
345 | #define comm_trivial_usage \ | 345 | #define comm_trivial_usage \ |
346 | "[-123] FILE1 FILE2" | 346 | "[-123] FILE1 FILE2" |
347 | #define comm_full_usage \ | 347 | #define comm_full_usage \ |
348 | "Compares FILE1 to FILE2, or to stdin if = is specified" \ | 348 | "Compare FILE1 to FILE2, or to stdin if - is specified" \ |
349 | "\n\nOptions:\n" \ | 349 | "\n\nOptions:\n" \ |
350 | " -1 Suppress lines unique to FILE1\n" \ | 350 | " -1 Suppress lines unique to FILE1\n" \ |
351 | " -2 Suppress lines unique to FILE2\n" \ | 351 | " -2 Suppress lines unique to FILE2\n" \ |
@@ -365,8 +365,8 @@ | |||
365 | #define cp_trivial_usage \ | 365 | #define cp_trivial_usage \ |
366 | "[OPTION]... SOURCE DEST" | 366 | "[OPTION]... SOURCE DEST" |
367 | #define cp_full_usage \ | 367 | #define cp_full_usage \ |
368 | "Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" \ | 368 | "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY" \ |
369 | "\n" \ | 369 | "\n\nOptions:\n" \ |
370 | " -a Same as -dpR\n" \ | 370 | " -a Same as -dpR\n" \ |
371 | " -d,-P Preserve links\n" \ | 371 | " -d,-P Preserve links\n" \ |
372 | " -H,-L Dereference all symlinks (implied by default)\n" \ | 372 | " -H,-L Dereference all symlinks (implied by default)\n" \ |
@@ -416,7 +416,7 @@ | |||
416 | #define cut_trivial_usage \ | 416 | #define cut_trivial_usage \ |
417 | "[OPTION]... [FILE]..." | 417 | "[OPTION]... [FILE]..." |
418 | #define cut_full_usage \ | 418 | #define cut_full_usage \ |
419 | "Prints selected fields from each input FILE to standard output" \ | 419 | "Print selected fields from each input FILE to standard output" \ |
420 | "\n\nOptions:\n" \ | 420 | "\n\nOptions:\n" \ |
421 | " -b LIST Output only bytes from LIST\n" \ | 421 | " -b LIST Output only bytes from LIST\n" \ |
422 | " -c LIST Output only characters from LIST\n" \ | 422 | " -c LIST Output only characters from LIST\n" \ |
@@ -433,7 +433,7 @@ | |||
433 | #define date_trivial_usage \ | 433 | #define date_trivial_usage \ |
434 | "[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]" | 434 | "[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]" |
435 | #define date_full_usage \ | 435 | #define date_full_usage \ |
436 | "Displays the current time in the given FORMAT, or sets the system date" \ | 436 | "Display current time in the given FORMAT, or set system date" \ |
437 | "\n\nOptions:\n" \ | 437 | "\n\nOptions:\n" \ |
438 | " -R Outputs RFC-822 compliant date string\n" \ | 438 | " -R Outputs RFC-822 compliant date string\n" \ |
439 | " -d STRING Displays time described by STRING, not 'now'\n" \ | 439 | " -d STRING Displays time described by STRING, not 'now'\n" \ |
@@ -511,18 +511,18 @@ | |||
511 | #define delgroup_trivial_usage \ | 511 | #define delgroup_trivial_usage \ |
512 | "GROUP" | 512 | "GROUP" |
513 | #define delgroup_full_usage \ | 513 | #define delgroup_full_usage \ |
514 | "Deletes group GROUP from the system" | 514 | "Delete group GROUP from the system" |
515 | 515 | ||
516 | #define deluser_trivial_usage \ | 516 | #define deluser_trivial_usage \ |
517 | "USER" | 517 | "USER" |
518 | #define deluser_full_usage \ | 518 | #define deluser_full_usage \ |
519 | "Deletes user USER from the system" | 519 | "Delete user USER from the system" |
520 | 520 | ||
521 | #define devfsd_trivial_usage \ | 521 | #define devfsd_trivial_usage \ |
522 | "mntpnt [-v]" \ | 522 | "mntpnt [-v]" \ |
523 | USE_DEVFSD_FG_NP("[-fg][-np]" ) | 523 | USE_DEVFSD_FG_NP("[-fg][-np]" ) |
524 | #define devfsd_full_usage \ | 524 | #define devfsd_full_usage \ |
525 | "Optional daemon for managing devfs permissions and old device name symlinks" \ | 525 | "Manage devfs permissions and old device name symlinks" \ |
526 | "\n\nOptions:" \ | 526 | "\n\nOptions:" \ |
527 | "\n mntpnt The mount point where devfs is mounted." \ | 527 | "\n mntpnt The mount point where devfs is mounted." \ |
528 | "\n -v Print the protocol version numbers for devfsd." \ | 528 | "\n -v Print the protocol version numbers for devfsd." \ |
@@ -556,12 +556,12 @@ | |||
556 | #define dhcprelay_trivial_usage \ | 556 | #define dhcprelay_trivial_usage \ |
557 | "[client_device_list] [server_device]" | 557 | "[client_device_list] [server_device]" |
558 | #define dhcprelay_full_usage \ | 558 | #define dhcprelay_full_usage \ |
559 | "Relays dhcp requests from client devices to server device" | 559 | "Relay dhcp requests from client devices to server device" |
560 | 560 | ||
561 | #define dhcprelay_trivial_usage \ | 561 | #define dhcprelay_trivial_usage \ |
562 | "[client_device_list] [server_device]" | 562 | "[client_device_list] [server_device]" |
563 | #define dhcprelay_full_usage \ | 563 | #define dhcprelay_full_usage \ |
564 | "Relays dhcp requests from client devices to server device" | 564 | "Relay dhcp requests from client devices to server device" |
565 | 565 | ||
566 | #define diff_trivial_usage \ | 566 | #define diff_trivial_usage \ |
567 | "[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" | 567 | "[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" |
@@ -587,7 +587,7 @@ | |||
587 | #define dirname_trivial_usage \ | 587 | #define dirname_trivial_usage \ |
588 | "FILENAME" | 588 | "FILENAME" |
589 | #define dirname_full_usage \ | 589 | #define dirname_full_usage \ |
590 | "Strips non-directory suffix from FILENAME" | 590 | "Strip non-directory suffix from FILENAME" |
591 | #define dirname_example_usage \ | 591 | #define dirname_example_usage \ |
592 | "$ dirname /tmp/foo\n" \ | 592 | "$ dirname /tmp/foo\n" \ |
593 | "/tmp\n" \ | 593 | "/tmp\n" \ |
@@ -597,7 +597,7 @@ | |||
597 | #define dmesg_trivial_usage \ | 597 | #define dmesg_trivial_usage \ |
598 | "[-c] [-n LEVEL] [-s SIZE]" | 598 | "[-c] [-n LEVEL] [-s SIZE]" |
599 | #define dmesg_full_usage \ | 599 | #define dmesg_full_usage \ |
600 | "Prints or controls the kernel ring buffer" \ | 600 | "Print or control the kernel ring buffer" \ |
601 | "\n\nOptions:\n" \ | 601 | "\n\nOptions:\n" \ |
602 | " -c Clears the ring buffer's contents after printing\n" \ | 602 | " -c Clears the ring buffer's contents after printing\n" \ |
603 | " -n LEVEL Sets console logging level\n" \ | 603 | " -n LEVEL Sets console logging level\n" \ |
@@ -617,9 +617,9 @@ | |||
617 | #define dos2unix_trivial_usage \ | 617 | #define dos2unix_trivial_usage \ |
618 | "[option] [FILE]" | 618 | "[option] [FILE]" |
619 | #define dos2unix_full_usage \ | 619 | #define dos2unix_full_usage \ |
620 | "Converts FILE from dos format to unix format. When no option\n" \ | 620 | "Convert FILE from dos format to unix format. When no option\n" \ |
621 | "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" \ |
622 | "When no file is given, uses stdin for input and stdout for output." \ | 622 | "When no file is given, use stdin for input and stdout for output." \ |
623 | "\n\nOptions:\n" \ | 623 | "\n\nOptions:\n" \ |
624 | " -u output will be in UNIX format\n" \ | 624 | " -u output will be in UNIX format\n" \ |
625 | " -d output will be in DOS format" | 625 | " -d output will be in DOS format" |
@@ -653,7 +653,7 @@ | |||
653 | #define du_trivial_usage \ | 653 | #define du_trivial_usage \ |
654 | "[-aHLdclsx" USE_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." | 654 | "[-aHLdclsx" USE_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." |
655 | #define du_full_usage \ | 655 | #define du_full_usage \ |
656 | "Summarizes disk space used for each FILE and/or directory.\n" \ | 656 | "Summarize disk space used for each FILE and/or directory.\n" \ |
657 | "Disk space is printed in units of " \ | 657 | "Disk space is printed in units of " \ |
658 | USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ | 658 | USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ |
659 | SKIP_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ | 659 | SKIP_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ |
@@ -689,7 +689,7 @@ | |||
689 | #define dumpkmap_trivial_usage \ | 689 | #define dumpkmap_trivial_usage \ |
690 | "> keymap" | 690 | "> keymap" |
691 | #define dumpkmap_full_usage \ | 691 | #define dumpkmap_full_usage \ |
692 | "Prints out a binary keyboard translation table to standard output." | 692 | "Print out a binary keyboard translation table to standard output" |
693 | #define dumpkmap_example_usage \ | 693 | #define dumpkmap_example_usage \ |
694 | "$ dumpkmap > keymap\n" | 694 | "$ dumpkmap > keymap\n" |
695 | 695 | ||
@@ -756,7 +756,7 @@ | |||
756 | #define env_trivial_usage \ | 756 | #define env_trivial_usage \ |
757 | "[-iu] [-] [name=value]... [command]" | 757 | "[-iu] [-] [name=value]... [command]" |
758 | #define env_full_usage \ | 758 | #define env_full_usage \ |
759 | "Print the current environment or runs a program after setting\n" \ | 759 | "Print the current environment or run a program after setting\n" \ |
760 | "up the specified environment" \ | 760 | "up the specified environment" \ |
761 | "\n\nOptions:\n" \ | 761 | "\n\nOptions:\n" \ |
762 | " -, -i start with an empty environment\n" \ | 762 | " -, -i start with an empty environment\n" \ |
@@ -776,7 +776,7 @@ | |||
776 | #define expr_trivial_usage \ | 776 | #define expr_trivial_usage \ |
777 | "EXPRESSION" | 777 | "EXPRESSION" |
778 | #define expr_full_usage \ | 778 | #define expr_full_usage \ |
779 | "Prints the value of EXPRESSION to standard output.\n\n" \ | 779 | "Print the value of EXPRESSION to standard output.\n\n" \ |
780 | "EXPRESSION may be:\n" \ | 780 | "EXPRESSION may be:\n" \ |
781 | " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ | 781 | " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ |
782 | " ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ | 782 | " ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ |
@@ -809,7 +809,7 @@ | |||
809 | #define fakeidentd_trivial_usage \ | 809 | #define fakeidentd_trivial_usage \ |
810 | "[-b ip] [STRING]" | 810 | "[-b ip] [STRING]" |
811 | #define fakeidentd_full_usage \ | 811 | #define fakeidentd_full_usage \ |
812 | "Returns a set string to auth requests" \ | 812 | "Return a set string to auth requests" \ |
813 | "\n\nOptions:\n" \ | 813 | "\n\nOptions:\n" \ |
814 | " -b Bind to ip address\n" \ | 814 | " -b Bind to ip address\n" \ |
815 | " STRING The ident answer string (default is nobody)" | 815 | " STRING The ident answer string (default is nobody)" |
@@ -817,7 +817,7 @@ | |||
817 | #define false_trivial_usage \ | 817 | #define false_trivial_usage \ |
818 | "" | 818 | "" |
819 | #define false_full_usage \ | 819 | #define false_full_usage \ |
820 | "Return an exit code of FALSE (1)." | 820 | "Return an exit code of FALSE (1)" |
821 | #define false_example_usage \ | 821 | #define false_example_usage \ |
822 | "$ false\n" \ | 822 | "$ false\n" \ |
823 | "$ echo $?\n" \ | 823 | "$ echo $?\n" \ |
@@ -840,12 +840,12 @@ | |||
840 | #define fdflush_trivial_usage \ | 840 | #define fdflush_trivial_usage \ |
841 | "DEVICE" | 841 | "DEVICE" |
842 | #define fdflush_full_usage \ | 842 | #define fdflush_full_usage \ |
843 | "Forces floppy disk drive to detect disk change" | 843 | "Force floppy disk drive to detect disk change" |
844 | 844 | ||
845 | #define fdformat_trivial_usage \ | 845 | #define fdformat_trivial_usage \ |
846 | "[-n] DEVICE" | 846 | "[-n] DEVICE" |
847 | #define fdformat_full_usage \ | 847 | #define fdformat_full_usage \ |
848 | "Low-level formats a floppy disk" \ | 848 | "Format floppy disk" \ |
849 | "\n\nOptions:\n" \ | 849 | "\n\nOptions:\n" \ |
850 | " -n Don't verify after format" | 850 | " -n Don't verify after format" |
851 | 851 | ||
@@ -916,7 +916,7 @@ | |||
916 | #define free_trivial_usage \ | 916 | #define free_trivial_usage \ |
917 | "" | 917 | "" |
918 | #define free_full_usage \ | 918 | #define free_full_usage \ |
919 | "Displays the amount of free and used system memory" | 919 | "Display the amount of free and used system memory" |
920 | #define free_example_usage \ | 920 | #define free_example_usage \ |
921 | "$ free\n" \ | 921 | "$ free\n" \ |
922 | " total used free shared buffers\n" \ | 922 | " total used free shared buffers\n" \ |
@@ -927,7 +927,7 @@ | |||
927 | #define freeramdisk_trivial_usage \ | 927 | #define freeramdisk_trivial_usage \ |
928 | "DEVICE" | 928 | "DEVICE" |
929 | #define freeramdisk_full_usage \ | 929 | #define freeramdisk_full_usage \ |
930 | "Frees all memory used by the specified ramdisk." | 930 | "Free all memory used by the specified ramdisk" |
931 | #define freeramdisk_example_usage \ | 931 | #define freeramdisk_example_usage \ |
932 | "$ freeramdisk /dev/ram2\n" | 932 | "$ freeramdisk /dev/ram2\n" |
933 | 933 | ||
@@ -948,7 +948,7 @@ | |||
948 | #define fsck_minix_trivial_usage \ | 948 | #define fsck_minix_trivial_usage \ |
949 | "[-larvsmf] /dev/name" | 949 | "[-larvsmf] /dev/name" |
950 | #define fsck_minix_full_usage \ | 950 | #define fsck_minix_full_usage \ |
951 | "Performs a consistency check for MINIX filesystems" \ | 951 | "Perform a consistency check for MINIX filesystems" \ |
952 | "\n\nOptions:\n" \ | 952 | "\n\nOptions:\n" \ |
953 | " -l Lists all filenames\n" \ | 953 | " -l Lists all filenames\n" \ |
954 | " -r Perform interactive repairs\n" \ | 954 | " -r Perform interactive repairs\n" \ |
@@ -1177,7 +1177,7 @@ | |||
1177 | #define head_full_usage \ | 1177 | #define head_full_usage \ |
1178 | "Print first 10 lines of each FILE to standard output.\n" \ | 1178 | "Print first 10 lines of each FILE to standard output.\n" \ |
1179 | "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" \ |
1180 | "file name. With no FILE, or when FILE is -, read standard input" \ | 1180 | "file name. With no FILE, or when FILE is -, read standard input." \ |
1181 | "\n\nOptions:" \ | 1181 | "\n\nOptions:" \ |
1182 | "\n -n NUM Print first NUM lines instead of first 10" \ | 1182 | "\n -n NUM Print first NUM lines instead of first 10" \ |
1183 | USE_FEATURE_FANCY_HEAD( \ | 1183 | USE_FEATURE_FANCY_HEAD( \ |
@@ -1192,9 +1192,7 @@ | |||
1192 | #define hexdump_trivial_usage \ | 1192 | #define hexdump_trivial_usage \ |
1193 | "[-[bcCdefnosvx]] [OPTION] FILE" | 1193 | "[-[bcCdefnosvx]] [OPTION] FILE" |
1194 | #define hexdump_full_usage \ | 1194 | #define hexdump_full_usage \ |
1195 | "The hexdump utility is a filter which displays the specified files,\n" \ | 1195 | "Display file(s) or standard input in a user specified format" \ |
1196 | "or the standard input, if no files are specified, in a user specified\n" \ | ||
1197 | "format" \ | ||
1198 | "\n\nOptions:\n" \ | 1196 | "\n\nOptions:\n" \ |
1199 | " -b One-byte octal display\n" \ | 1197 | " -b One-byte octal display\n" \ |
1200 | " -c One-byte character display\n" \ | 1198 | " -c One-byte character display\n" \ |
@@ -1211,7 +1209,7 @@ | |||
1211 | #define hostid_trivial_usage \ | 1209 | #define hostid_trivial_usage \ |
1212 | "" | 1210 | "" |
1213 | #define hostid_full_usage \ | 1211 | #define hostid_full_usage \ |
1214 | "Print out a unique 32-bit identifier for the machine." | 1212 | "Print out a unique 32-bit identifier for the machine" |
1215 | 1213 | ||
1216 | #define hostname_trivial_usage \ | 1214 | #define hostname_trivial_usage \ |
1217 | "[OPTION] {hostname | -F FILE}" | 1215 | "[OPTION] {hostname | -F FILE}" |
@@ -1238,7 +1236,7 @@ | |||
1238 | " [-h home]" \ | 1236 | " [-h home]" \ |
1239 | " [-d/-e <string>]" | 1237 | " [-d/-e <string>]" |
1240 | #define httpd_full_usage \ | 1238 | #define httpd_full_usage \ |
1241 | "Listens for incoming http server requests" \ | 1239 | "Listen for incoming http server requests" \ |
1242 | "\n\nOptions:\n" \ | 1240 | "\n\nOptions:\n" \ |
1243 | " -c FILE Specifies configuration file. (default httpd.conf)\n" \ | 1241 | " -c FILE Specifies configuration file. (default httpd.conf)\n" \ |
1244 | " -p PORT Server port (default 80)\n" \ | 1242 | " -p PORT Server port (default 80)\n" \ |
@@ -1329,7 +1327,7 @@ | |||
1329 | #define inetd_trivial_usage \ | 1327 | #define inetd_trivial_usage \ |
1330 | "[-f] [-q len] [conf]" | 1328 | "[-f] [-q len] [conf]" |
1331 | #define inetd_full_usage \ | 1329 | #define inetd_full_usage \ |
1332 | "Listens for network connections and launches programs" \ | 1330 | "Listen for network connections and launch programs" \ |
1333 | "\n\nOptions:\n" \ | 1331 | "\n\nOptions:\n" \ |
1334 | " -f Run as a foreground progress\n" \ | 1332 | " -f Run as a foreground progress\n" \ |
1335 | " -q Sets the size of the socket listen queue to\n" \ | 1333 | " -q Sets the size of the socket listen queue to\n" \ |
@@ -1338,7 +1336,7 @@ | |||
1338 | #define init_trivial_usage \ | 1336 | #define init_trivial_usage \ |
1339 | "" | 1337 | "" |
1340 | #define init_full_usage \ | 1338 | #define init_full_usage \ |
1341 | "Init is the parent of all processes." | 1339 | "Init is the parent of all processes" |
1342 | #define init_notes_usage \ | 1340 | #define init_notes_usage \ |
1343 | "This version of init is designed to be run only by the kernel.\n" \ | 1341 | "This version of init is designed to be run only by the kernel.\n" \ |
1344 | "\n" \ | 1342 | "\n" \ |
@@ -1469,7 +1467,7 @@ | |||
1469 | #define insmod_trivial_usage \ | 1467 | #define insmod_trivial_usage \ |
1470 | "[OPTION]... MODULE [symbol=value]..." | 1468 | "[OPTION]... MODULE [symbol=value]..." |
1471 | #define insmod_full_usage \ | 1469 | #define insmod_full_usage \ |
1472 | "Loads the specified kernel modules into the kernel" \ | 1470 | "Load the specified kernel modules into the kernel" \ |
1473 | "\n\nOptions:\n" \ | 1471 | "\n\nOptions:\n" \ |
1474 | " -f Force module to load into the wrong kernel version\n" \ | 1472 | " -f Force module to load into the wrong kernel version\n" \ |
1475 | " -k Make module autoclean-able\n" \ | 1473 | " -k Make module autoclean-able\n" \ |
@@ -1484,7 +1482,7 @@ | |||
1484 | #define install_trivial_usage \ | 1482 | #define install_trivial_usage \ |
1485 | "[-cgmops] [sources] <dest|directory>" | 1483 | "[-cgmops] [sources] <dest|directory>" |
1486 | #define install_full_usage \ | 1484 | #define install_full_usage \ |
1487 | "Copies files and set attributes" \ | 1485 | "Copy files and set attributes" \ |
1488 | "\n\nOptions:\n" \ | 1486 | "\n\nOptions:\n" \ |
1489 | " -c copy the file, default\n" \ | 1487 | " -c copy the file, default\n" \ |
1490 | " -d create directories\n" \ | 1488 | " -d create directories\n" \ |
@@ -1532,6 +1530,7 @@ | |||
1532 | "The upper-case options MQS are used to remove a shared memory segment by a\n" \ | 1530 | "The upper-case options MQS are used to remove a shared memory segment by a\n" \ |
1533 | "segment by a shmkey value. The lower-case options mqs are used\n" \ | 1531 | "segment by a shmkey value. The lower-case options mqs are used\n" \ |
1534 | "to remove a segment by shmid value.\n" \ | 1532 | "to remove a segment by shmid value.\n" \ |
1533 | "\n\nOptions:\n" \ | ||
1535 | " -[mM] Remove the memory segment after the last detach\n" \ | 1534 | " -[mM] Remove the memory segment after the last detach\n" \ |
1536 | " -[qQ] Remove the message queue\n" \ | 1535 | " -[qQ] Remove the message queue\n" \ |
1537 | " -[sS] Remove the semaphore" | 1536 | " -[sS] Remove the semaphore" |
@@ -1636,7 +1635,7 @@ | |||
1636 | #define length_trivial_usage \ | 1635 | #define length_trivial_usage \ |
1637 | "STRING" | 1636 | "STRING" |
1638 | #define length_full_usage \ | 1637 | #define length_full_usage \ |
1639 | "Prints out the length of the specified STRING." | 1638 | "Print out the length of the specified STRING" |
1640 | #define length_example_usage \ | 1639 | #define length_example_usage \ |
1641 | "$ length Hello\n" \ | 1640 | "$ length Hello\n" \ |
1642 | "5\n" | 1641 | "5\n" |
@@ -1645,7 +1644,7 @@ | |||
1645 | "[-EMNmh~?] FILE1 FILE2..." | 1644 | "[-EMNmh~?] FILE1 FILE2..." |
1646 | #define less_full_usage \ | 1645 | #define less_full_usage \ |
1647 | "View a file or list of files. The position within files can be\n" \ | 1646 | "View a file or list of files. The position within files can be\n" \ |
1648 | "changed, and files can be manipulated in various ways" \ | 1647 | "changed, and files can be manipulated in various ways." \ |
1649 | "\n\nOptions:\n" \ | 1648 | "\n\nOptions:\n" \ |
1650 | " -E Quit once the end of a file is reached\n" \ | 1649 | " -E Quit once the end of a file is reached\n" \ |
1651 | " -M Display a status line containing the current line numbers\n" \ | 1650 | " -M Display a status line containing the current line numbers\n" \ |
@@ -1683,14 +1682,14 @@ | |||
1683 | #define loadfont_trivial_usage \ | 1682 | #define loadfont_trivial_usage \ |
1684 | "< font" | 1683 | "< font" |
1685 | #define loadfont_full_usage \ | 1684 | #define loadfont_full_usage \ |
1686 | "Loads a console font from standard input." | 1685 | "Load a console font from standard input" |
1687 | #define loadfont_example_usage \ | 1686 | #define loadfont_example_usage \ |
1688 | "$ loadfont < /etc/i18n/fontname\n" | 1687 | "$ loadfont < /etc/i18n/fontname\n" |
1689 | 1688 | ||
1690 | #define loadkmap_trivial_usage \ | 1689 | #define loadkmap_trivial_usage \ |
1691 | "< keymap" | 1690 | "< keymap" |
1692 | #define loadkmap_full_usage \ | 1691 | #define loadkmap_full_usage \ |
1693 | "Loads a binary keyboard translation table from standard input." | 1692 | "Load a binary keyboard translation table from standard input" |
1694 | #define loadkmap_example_usage \ | 1693 | #define loadkmap_example_usage \ |
1695 | "$ loadkmap < /etc/i18n/lang-keymap\n" | 1694 | "$ loadkmap < /etc/i18n/lang-keymap\n" |
1696 | 1695 | ||
@@ -1718,7 +1717,7 @@ | |||
1718 | #define logname_trivial_usage \ | 1717 | #define logname_trivial_usage \ |
1719 | "" | 1718 | "" |
1720 | #define logname_full_usage \ | 1719 | #define logname_full_usage \ |
1721 | "Print the name of the current user." | 1720 | "Print the name of the current user" |
1722 | #define logname_example_usage \ | 1721 | #define logname_example_usage \ |
1723 | "$ logname\n" \ | 1722 | "$ logname\n" \ |
1724 | "root\n" | 1723 | "root\n" |
@@ -1726,7 +1725,7 @@ | |||
1726 | #define logread_trivial_usage \ | 1725 | #define logread_trivial_usage \ |
1727 | "[OPTION]..." | 1726 | "[OPTION]..." |
1728 | #define logread_full_usage \ | 1727 | #define logread_full_usage \ |
1729 | "Shows the messages from syslogd (using circular buffer)" \ | 1728 | "Show the messages from syslogd (using circular buffer)" \ |
1730 | "\n\nOptions:\n" \ | 1729 | "\n\nOptions:\n" \ |
1731 | " -f output data as the log grows" | 1730 | " -f output data as the log grows" |
1732 | 1731 | ||
@@ -1818,13 +1817,13 @@ | |||
1818 | #define lsmod_trivial_usage \ | 1817 | #define lsmod_trivial_usage \ |
1819 | "" | 1818 | "" |
1820 | #define lsmod_full_usage \ | 1819 | #define lsmod_full_usage \ |
1821 | "List the currently loaded kernel modules." | 1820 | "List the currently loaded kernel modules" |
1822 | 1821 | ||
1823 | #ifdef CONFIG_FEATURE_MAKEDEVS_LEAF | 1822 | #ifdef CONFIG_FEATURE_MAKEDEVS_LEAF |
1824 | #define makedevs_trivial_usage \ | 1823 | #define makedevs_trivial_usage \ |
1825 | "NAME TYPE MAJOR MINOR FIRST LAST [s]" | 1824 | "NAME TYPE MAJOR MINOR FIRST LAST [s]" |
1826 | #define makedevs_full_usage \ | 1825 | #define makedevs_full_usage \ |
1827 | "Creates a range of block or character special files\n\n" \ | 1826 | "Create a range of block or character special files\n\n" \ |
1828 | "TYPEs include:\n" \ | 1827 | "TYPEs include:\n" \ |
1829 | " b: Make a block (buffered) device.\n" \ | 1828 | " b: Make a block (buffered) device.\n" \ |
1830 | " c or u: Make a character (un-buffered) device.\n" \ | 1829 | " c or u: Make a character (un-buffered) device.\n" \ |
@@ -1846,7 +1845,7 @@ | |||
1846 | #define makedevs_trivial_usage \ | 1845 | #define makedevs_trivial_usage \ |
1847 | "[-d device_table] rootdir" | 1846 | "[-d device_table] rootdir" |
1848 | #define makedevs_full_usage \ | 1847 | #define makedevs_full_usage \ |
1849 | "Creates a range of special files as specified in a device table.\n" \ | 1848 | "Create a range of special files as specified in a device table.\n" \ |
1850 | "Device table entries take the form of:\n" \ | 1849 | "Device table entries take the form of:\n" \ |
1851 | "<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \ | 1850 | "<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \ |
1852 | "Where name is the file name, type can be one of:\n" \ | 1851 | "Where name is the file name, type can be one of:\n" \ |
@@ -1927,7 +1926,7 @@ | |||
1927 | #define mesg_trivial_usage \ | 1926 | #define mesg_trivial_usage \ |
1928 | "[y|n]" | 1927 | "[y|n]" |
1929 | #define mesg_full_usage \ | 1928 | #define mesg_full_usage \ |
1930 | "mesg controls write access to your terminal\n" \ | 1929 | "Control write access to your terminal\n" \ |
1931 | " y Allow write access to your terminal\n" \ | 1930 | " y Allow write access to your terminal\n" \ |
1932 | " n Disallow write access to your terminal" | 1931 | " n Disallow write access to your terminal" |
1933 | 1932 | ||
@@ -1980,7 +1979,7 @@ | |||
1980 | #define mkfifo_trivial_usage \ | 1979 | #define mkfifo_trivial_usage \ |
1981 | "[OPTIONS] name" | 1980 | "[OPTIONS] name" |
1982 | #define mkfifo_full_usage \ | 1981 | #define mkfifo_full_usage \ |
1983 | "Creates a named pipe (identical to 'mknod name p')" \ | 1982 | "Create a named pipe (identical to 'mknod name p')" \ |
1984 | "\n\nOptions:\n" \ | 1983 | "\n\nOptions:\n" \ |
1985 | " -m create the pipe using the specified mode (default a=rw)" | 1984 | " -m create the pipe using the specified mode (default a=rw)" |
1986 | 1985 | ||
@@ -2022,7 +2021,7 @@ | |||
2022 | #define mktemp_trivial_usage \ | 2021 | #define mktemp_trivial_usage \ |
2023 | "[-dq] TEMPLATE" | 2022 | "[-dq] TEMPLATE" |
2024 | #define mktemp_full_usage \ | 2023 | #define mktemp_full_usage \ |
2025 | "Creates a temporary file with its name based on TEMPLATE.\n" \ | 2024 | "Create a temporary file with its name based on TEMPLATE.\n" \ |
2026 | "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX)." \ | 2025 | "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX)." \ |
2027 | "\n\nOptions:\n" \ | 2026 | "\n\nOptions:\n" \ |
2028 | " -d Make a directory instead of a file\n" \ | 2027 | " -d Make a directory instead of a file\n" \ |
@@ -2106,7 +2105,7 @@ | |||
2106 | #define more_trivial_usage \ | 2105 | #define more_trivial_usage \ |
2107 | "[FILE ...]" | 2106 | "[FILE ...]" |
2108 | #define more_full_usage \ | 2107 | #define more_full_usage \ |
2109 | "More is a filter for viewing FILE one screenful at a time." | 2108 | "View FILE or standard input one screenful at a time" |
2110 | #define more_example_usage \ | 2109 | #define more_example_usage \ |
2111 | "$ dmesg | more\n" | 2110 | "$ dmesg | more\n" |
2112 | 2111 | ||
@@ -2196,7 +2195,7 @@ | |||
2196 | #define nameif_trivial_usage \ | 2195 | #define nameif_trivial_usage \ |
2197 | "[-s] [-c FILE] [{IFNAME MACADDR}]" | 2196 | "[-s] [-c FILE] [{IFNAME MACADDR}]" |
2198 | #define nameif_full_usage \ | 2197 | #define nameif_full_usage \ |
2199 | "Renames network interface while it in the down state" \ | 2198 | "Rename network interface while it in the down state" \ |
2200 | "\n\nOptions:\n" \ | 2199 | "\n\nOptions:\n" \ |
2201 | " -c FILE Use configuration file (default is /etc/mactab)\n" \ | 2200 | " -c FILE Use configuration file (default is /etc/mactab)\n" \ |
2202 | " -s Use syslog (LOCAL0 facility)\n" \ | 2201 | " -s Use syslog (LOCAL0 facility)\n" \ |
@@ -2216,7 +2215,7 @@ | |||
2216 | USE_NC_EXTRA("[-iN] [-wN] ")USE_NC_SERVER("[-l] [-p PORT] ") \ | 2215 | USE_NC_EXTRA("[-iN] [-wN] ")USE_NC_SERVER("[-l] [-p PORT] ") \ |
2217 | "["USE_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"USE_NC_EXTRA(" [-e COMMAND]") | 2216 | "["USE_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"USE_NC_EXTRA(" [-e COMMAND]") |
2218 | #define nc_full_usage \ | 2217 | #define nc_full_usage \ |
2219 | "Netcat opens a pipe to IP:port" USE_NC_EXTRA(" or file") \ | 2218 | "Open a pipe to IP:port" USE_NC_EXTRA(" or file") \ |
2220 | NC_OPTIONS_STR \ | 2219 | NC_OPTIONS_STR \ |
2221 | USE_NC_EXTRA( \ | 2220 | USE_NC_EXTRA( \ |
2222 | "\n -e exec rest of command line after connect" \ | 2221 | "\n -e exec rest of command line after connect" \ |
@@ -2251,7 +2250,7 @@ | |||
2251 | #define netstat_trivial_usage \ | 2250 | #define netstat_trivial_usage \ |
2252 | "[-laenrtuwx]" | 2251 | "[-laenrtuwx]" |
2253 | #define netstat_full_usage \ | 2252 | #define netstat_full_usage \ |
2254 | "Displays Linux networking information" \ | 2253 | "Display networking information" \ |
2255 | "\n\nOptions:\n" \ | 2254 | "\n\nOptions:\n" \ |
2256 | " -l display listening server sockets\n" \ | 2255 | " -l display listening server sockets\n" \ |
2257 | " -a display all sockets (default: connected)\n" \ | 2256 | " -a display all sockets (default: connected)\n" \ |
@@ -2266,14 +2265,14 @@ | |||
2266 | #define nice_trivial_usage \ | 2265 | #define nice_trivial_usage \ |
2267 | "[-n ADJUST] [COMMAND [ARG] ...]" | 2266 | "[-n ADJUST] [COMMAND [ARG] ...]" |
2268 | #define nice_full_usage \ | 2267 | #define nice_full_usage \ |
2269 | "Runs a program with modified scheduling priority" \ | 2268 | "Run a program with modified scheduling priority" \ |
2270 | "\n\nOptions:\n" \ | 2269 | "\n\nOptions:\n" \ |
2271 | " -n ADJUST Adjust the scheduling priority by ADJUST" | 2270 | " -n ADJUST Adjust the scheduling priority by ADJUST" |
2272 | 2271 | ||
2273 | #define nmeter_trivial_usage \ | 2272 | #define nmeter_trivial_usage \ |
2274 | "format_string" | 2273 | "format_string" |
2275 | #define nmeter_full_usage \ | 2274 | #define nmeter_full_usage \ |
2276 | "Nmeter monitors your system in real time.\n\n" \ | 2275 | "Monitor system in real time\n\n" \ |
2277 | "Format specifiers:\n" \ | 2276 | "Format specifiers:\n" \ |
2278 | "%Nc or %[cN] monitor CPU. N - bar size, default 10\n" \ | 2277 | "%Nc or %[cN] monitor CPU. N - bar size, default 10\n" \ |
2279 | " (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ | 2278 | " (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ |
@@ -2297,14 +2296,14 @@ | |||
2297 | #define nohup_trivial_usage \ | 2296 | #define nohup_trivial_usage \ |
2298 | "COMMAND [ARGS]" | 2297 | "COMMAND [ARGS]" |
2299 | #define nohup_full_usage \ | 2298 | #define nohup_full_usage \ |
2300 | "run a command immune to hangups, with output to a non-tty" | 2299 | "Run a command immune to hangups, with output to a non-tty" |
2301 | #define nohup_example_usage \ | 2300 | #define nohup_example_usage \ |
2302 | "$ nohup make &" | 2301 | "$ nohup make &" |
2303 | 2302 | ||
2304 | #define nslookup_trivial_usage \ | 2303 | #define nslookup_trivial_usage \ |
2305 | "[HOST] [SERVER]" | 2304 | "[HOST] [SERVER]" |
2306 | #define nslookup_full_usage \ | 2305 | #define nslookup_full_usage \ |
2307 | "Queries the nameserver for the IP address of the given HOST\n" \ | 2306 | "Query the nameserver for the IP address of the given HOST\n" \ |
2308 | "optionally using a specified DNS server" | 2307 | "optionally using a specified DNS server" |
2309 | #define nslookup_example_usage \ | 2308 | #define nslookup_example_usage \ |
2310 | "$ nslookup localhost\n" \ | 2309 | "$ nslookup localhost\n" \ |
@@ -2342,8 +2341,8 @@ | |||
2342 | #define patch_trivial_usage \ | 2341 | #define patch_trivial_usage \ |
2343 | "[-p<num>] [-i <diff>]" | 2342 | "[-p<num>] [-i <diff>]" |
2344 | #define patch_full_usage \ | 2343 | #define patch_full_usage \ |
2345 | " -p <num> Strip <num> leading components from file names\n" \ | 2344 | " -p NUM Strip NUM leading components from file names\n" \ |
2346 | " -i <diff> Read <diff> instead of stdin" | 2345 | " -i DIFF Read DIFF instead of stdin" |
2347 | #define patch_example_usage \ | 2346 | #define patch_example_usage \ |
2348 | "$ patch -p1 < example.diff\n" \ | 2347 | "$ patch -p1 < example.diff\n" \ |
2349 | "$ patch -p0 -i example.diff" | 2348 | "$ patch -p0 -i example.diff" |
@@ -2358,8 +2357,8 @@ | |||
2358 | "process-name [OPTION] [process-name ...]" | 2357 | "process-name [OPTION] [process-name ...]" |
2359 | 2358 | ||
2360 | #define pidof_full_usage \ | 2359 | #define pidof_full_usage \ |
2361 | "Lists the PIDs of all processes with names that match the\n" \ | 2360 | "List the PIDs of all processes with names that match the\n" \ |
2362 | "names on the command line.\n" \ | 2361 | "names on the command line\n" \ |
2363 | USAGE_PIDOF \ | 2362 | USAGE_PIDOF \ |
2364 | USE_FEATURE_PIDOF_SINGLE( \ | 2363 | USE_FEATURE_PIDOF_SINGLE( \ |
2365 | "\n -s display only a single PID") \ | 2364 | "\n -s display only a single PID") \ |
@@ -2376,8 +2375,10 @@ | |||
2376 | "$ pidof /bin/sh -o %PPID\n20351 5950") | 2375 | "$ pidof /bin/sh -o %PPID\n20351 5950") |
2377 | 2376 | ||
2378 | #ifndef CONFIG_FEATURE_FANCY_PING | 2377 | #ifndef CONFIG_FEATURE_FANCY_PING |
2379 | #define ping_trivial_usage "host" | 2378 | #define ping_trivial_usage \ |
2380 | #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" | 2379 | "host" |
2380 | #define ping_full_usage \ | ||
2381 | "Send ICMP ECHO_REQUEST packets to network hosts" | ||
2381 | #else | 2382 | #else |
2382 | #define ping_trivial_usage \ | 2383 | #define ping_trivial_usage \ |
2383 | "[OPTION]... host" | 2384 | "[OPTION]... host" |
@@ -2400,8 +2401,10 @@ | |||
2400 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" | 2401 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" |
2401 | 2402 | ||
2402 | #ifndef CONFIG_FEATURE_FANCY_PING6 | 2403 | #ifndef CONFIG_FEATURE_FANCY_PING6 |
2403 | #define ping6_trivial_usage "host" | 2404 | #define ping6_trivial_usage \ |
2404 | #define ping6_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" | 2405 | "host" |
2406 | #define ping6_full_usage \ | ||
2407 | "Send ICMP ECHO_REQUEST packets to network hosts" | ||
2405 | #else | 2408 | #else |
2406 | #define ping6_trivial_usage \ | 2409 | #define ping6_trivial_usage \ |
2407 | "[OPTION]... host" | 2410 | "[OPTION]... host" |
@@ -2440,14 +2443,14 @@ | |||
2440 | #define printenv_trivial_usage \ | 2443 | #define printenv_trivial_usage \ |
2441 | "[VARIABLES...]" | 2444 | "[VARIABLES...]" |
2442 | #define printenv_full_usage \ | 2445 | #define printenv_full_usage \ |
2443 | "print all or part of environment\n\n" \ | 2446 | "Print all or part of environment.\n" \ |
2444 | "If no environment VARIABLE specified, print them all." | 2447 | "If no environment VARIABLE specified, print them all." |
2445 | 2448 | ||
2446 | #define printf_trivial_usage \ | 2449 | #define printf_trivial_usage \ |
2447 | "FORMAT [ARGUMENT...]" | 2450 | "FORMAT [ARGUMENT...]" |
2448 | #define printf_full_usage \ | 2451 | #define printf_full_usage \ |
2449 | "Formats and prints ARGUMENT(s) according to FORMAT,\n" \ | 2452 | "Format and print ARGUMENT(s) according to FORMAT,\n" \ |
2450 | "Where FORMAT controls the output exactly as in C printf." | 2453 | "where FORMAT controls the output exactly as in C printf." |
2451 | #define printf_example_usage \ | 2454 | #define printf_example_usage \ |
2452 | "$ printf \"Val=%d\\n\" 5\n" \ | 2455 | "$ printf \"Val=%d\\n\" 5\n" \ |
2453 | "Val=5\n" | 2456 | "Val=5\n" |
@@ -2499,7 +2502,7 @@ | |||
2499 | #define pwd_trivial_usage \ | 2502 | #define pwd_trivial_usage \ |
2500 | "" | 2503 | "" |
2501 | #define pwd_full_usage \ | 2504 | #define pwd_full_usage \ |
2502 | "Print the full filename of the current working directory." | 2505 | "Print the full filename of the current working directory" |
2503 | #define pwd_example_usage \ | 2506 | #define pwd_example_usage \ |
2504 | "$ pwd\n" \ | 2507 | "$ pwd\n" \ |
2505 | "/root\n" | 2508 | "/root\n" |
@@ -2507,7 +2510,7 @@ | |||
2507 | #define raidautorun_trivial_usage \ | 2510 | #define raidautorun_trivial_usage \ |
2508 | "DEVICE" | 2511 | "DEVICE" |
2509 | #define raidautorun_full_usage \ | 2512 | #define raidautorun_full_usage \ |
2510 | "Tells the kernel to automatically search and start RAID arrays" | 2513 | "Tell the kernel to automatically search and start RAID arrays" |
2511 | #define raidautorun_example_usage \ | 2514 | #define raidautorun_example_usage \ |
2512 | "$ raidautorun /dev/md0" | 2515 | "$ raidautorun /dev/md0" |
2513 | 2516 | ||
@@ -2522,13 +2525,13 @@ | |||
2522 | #define readahead_trivial_usage \ | 2525 | #define readahead_trivial_usage \ |
2523 | "[FILE]..." | 2526 | "[FILE]..." |
2524 | #define readahead_full_usage \ | 2527 | #define readahead_full_usage \ |
2525 | "Preloads FILE(s) in RAM cache so that subsequent reads for those" \ | 2528 | "Preload FILE(s) in RAM cache so that subsequent reads for those" \ |
2526 | "files do not block on disk I/O." | 2529 | "files do not block on disk I/O" |
2527 | 2530 | ||
2528 | #define readlink_trivial_usage \ | 2531 | #define readlink_trivial_usage \ |
2529 | USE_FEATURE_READLINK_FOLLOW("[-f] ") "FILE" | 2532 | USE_FEATURE_READLINK_FOLLOW("[-f] ") "FILE" |
2530 | #define readlink_full_usage \ | 2533 | #define readlink_full_usage \ |
2531 | "Displays the value of a symbolic link." \ | 2534 | "Display the value of a symbolic link" \ |
2532 | USE_FEATURE_READLINK_FOLLOW( \ | 2535 | USE_FEATURE_READLINK_FOLLOW( \ |
2533 | "\n\nOptions:\n" \ | 2536 | "\n\nOptions:\n" \ |
2534 | " -f canonicalize by following all symlinks") | 2537 | " -f canonicalize by following all symlinks") |
@@ -2551,7 +2554,7 @@ | |||
2551 | #define realpath_trivial_usage \ | 2554 | #define realpath_trivial_usage \ |
2552 | "pathname ..." | 2555 | "pathname ..." |
2553 | #define realpath_full_usage \ | 2556 | #define realpath_full_usage \ |
2554 | "Returns the absolute pathnames of given argument." | 2557 | "Return the absolute pathnames of given argument" |
2555 | 2558 | ||
2556 | #define reboot_trivial_usage \ | 2559 | #define reboot_trivial_usage \ |
2557 | "[-d<delay>] [-n<nosync>] [-f<force>]" | 2560 | "[-d<delay>] [-n<nosync>] [-f<force>]" |
@@ -2565,7 +2568,7 @@ | |||
2565 | #define renice_trivial_usage \ | 2568 | #define renice_trivial_usage \ |
2566 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" | 2569 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" |
2567 | #define renice_full_usage \ | 2570 | #define renice_full_usage \ |
2568 | "Changes priority of running processes" \ | 2571 | "Change priority of running processes" \ |
2569 | "\n\nOptions:\n" \ | 2572 | "\n\nOptions:\n" \ |
2570 | " -n adjusts current nice value (smaller is faster)\n" \ | 2573 | " -n adjusts current nice value (smaller is faster)\n" \ |
2571 | " -p process id(s) (default)\n" \ | 2574 | " -p process id(s) (default)\n" \ |
@@ -2575,12 +2578,12 @@ | |||
2575 | #define reset_trivial_usage \ | 2578 | #define reset_trivial_usage \ |
2576 | "" | 2579 | "" |
2577 | #define reset_full_usage \ | 2580 | #define reset_full_usage \ |
2578 | "Resets the screen." | 2581 | "Reset the screen" |
2579 | 2582 | ||
2580 | #define resize_trivial_usage \ | 2583 | #define resize_trivial_usage \ |
2581 | "" | 2584 | "" |
2582 | #define resize_full_usage \ | 2585 | #define resize_full_usage \ |
2583 | "Resizes the screen." | 2586 | "Resize the screen" |
2584 | 2587 | ||
2585 | #define rm_trivial_usage \ | 2588 | #define rm_trivial_usage \ |
2586 | "[OPTION]... FILE..." | 2589 | "[OPTION]... FILE..." |
@@ -2597,14 +2600,14 @@ | |||
2597 | #define rmdir_trivial_usage \ | 2600 | #define rmdir_trivial_usage \ |
2598 | "[OPTION]... DIRECTORY..." | 2601 | "[OPTION]... DIRECTORY..." |
2599 | #define rmdir_full_usage \ | 2602 | #define rmdir_full_usage \ |
2600 | "Remove the DIRECTORY(ies), if they are empty." | 2603 | "Remove the DIRECTORY, if it is empty" |
2601 | #define rmdir_example_usage \ | 2604 | #define rmdir_example_usage \ |
2602 | "# rmdir /tmp/foo\n" | 2605 | "# rmdir /tmp/foo\n" |
2603 | 2606 | ||
2604 | #define rmmod_trivial_usage \ | 2607 | #define rmmod_trivial_usage \ |
2605 | "[OPTION]... [MODULE]..." | 2608 | "[OPTION]... [MODULE]..." |
2606 | #define rmmod_full_usage \ | 2609 | #define rmmod_full_usage \ |
2607 | "Unloads the specified kernel modules from the kernel" \ | 2610 | "Unload the specified kernel modules from the kernel" \ |
2608 | "\n\nOptions:\n" \ | 2611 | "\n\nOptions:\n" \ |
2609 | " -a Remove all unused modules (recursively)" | 2612 | " -a Remove all unused modules (recursively)" |
2610 | #define rmmod_example_usage \ | 2613 | #define rmmod_example_usage \ |
@@ -2622,7 +2625,7 @@ | |||
2622 | #define rpm_trivial_usage \ | 2625 | #define rpm_trivial_usage \ |
2623 | "-i -q[ildc]p package.rpm" | 2626 | "-i -q[ildc]p package.rpm" |
2624 | #define rpm_full_usage \ | 2627 | #define rpm_full_usage \ |
2625 | "Manipulates RPM packages" \ | 2628 | "Manipulate RPM packages" \ |
2626 | "\n\nOptions:" \ | 2629 | "\n\nOptions:" \ |
2627 | "\n -i Install package" \ | 2630 | "\n -i Install package" \ |
2628 | "\n -q Query package" \ | 2631 | "\n -q Query package" \ |
@@ -2635,7 +2638,7 @@ | |||
2635 | #define rpm2cpio_trivial_usage \ | 2638 | #define rpm2cpio_trivial_usage \ |
2636 | "package.rpm" | 2639 | "package.rpm" |
2637 | #define rpm2cpio_full_usage \ | 2640 | #define rpm2cpio_full_usage \ |
2638 | "Outputs a cpio archive of the rpm file." | 2641 | "Output a cpio archive of the rpm file" |
2639 | 2642 | ||
2640 | #define run_parts_trivial_usage \ | 2643 | #define run_parts_trivial_usage \ |
2641 | "[-t] [-a ARG] [-u MASK] DIRECTORY" | 2644 | "[-t] [-a ARG] [-u MASK] DIRECTORY" |
@@ -2651,7 +2654,7 @@ | |||
2651 | #define runlevel_full_usage \ | 2654 | #define runlevel_full_usage \ |
2652 | "Find the current and previous system runlevel.\n\n" \ | 2655 | "Find the current and previous system runlevel.\n\n" \ |
2653 | "If no utmp file exists or if no runlevel record can be found,\n" \ | 2656 | "If no utmp file exists or if no runlevel record can be found,\n" \ |
2654 | "runlevel prints \"unknown\"" | 2657 | "print \"unknown\"" |
2655 | #define runlevel_example_usage \ | 2658 | #define runlevel_example_usage \ |
2656 | "$ runlevel /var/run/utmp\n" \ | 2659 | "$ runlevel /var/run/utmp\n" \ |
2657 | "N 2" | 2660 | "N 2" |
@@ -2659,17 +2662,17 @@ | |||
2659 | #define runsv_trivial_usage \ | 2662 | #define runsv_trivial_usage \ |
2660 | "dir" | 2663 | "dir" |
2661 | #define runsv_full_usage \ | 2664 | #define runsv_full_usage \ |
2662 | "Start and monitor a service and optionally an appendant log service." | 2665 | "Start and monitor a service and optionally an appendant log service" |
2663 | 2666 | ||
2664 | #define runsvdir_trivial_usage \ | 2667 | #define runsvdir_trivial_usage \ |
2665 | "[-P] dir" | 2668 | "[-P] dir" |
2666 | #define runsvdir_full_usage \ | 2669 | #define runsvdir_full_usage \ |
2667 | "Start a runsv process for each subdirectory." | 2670 | "Start a runsv process for each subdirectory" |
2668 | 2671 | ||
2669 | #define rx_trivial_usage \ | 2672 | #define rx_trivial_usage \ |
2670 | "FILE" | 2673 | "FILE" |
2671 | #define rx_full_usage \ | 2674 | #define rx_full_usage \ |
2672 | "Receive a file using the xmodem protocol." | 2675 | "Receive a file using the xmodem protocol" |
2673 | #define rx_example_usage \ | 2676 | #define rx_example_usage \ |
2674 | "$ rx /tmp/foo\n" | 2677 | "$ rx /tmp/foo\n" |
2675 | 2678 | ||
@@ -2697,18 +2700,18 @@ | |||
2697 | "[first [increment]] last" | 2700 | "[first [increment]] last" |
2698 | #define seq_full_usage \ | 2701 | #define seq_full_usage \ |
2699 | "Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \ | 2702 | "Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \ |
2700 | "FIRST, INCREMENT default to 1\n" \ | 2703 | "FIRST, INCREMENT default to 1" \ |
2701 | "Arguments:\n" \ | 2704 | "\n\nArguments:\n" \ |
2702 | " LAST\n" \ | 2705 | " LAST\n" \ |
2703 | " FIRST LAST\n" \ | 2706 | " FIRST LAST\n" \ |
2704 | " FIRST INCREMENT LAST" | 2707 | " FIRST INCREMENT LAST" |
2705 | 2708 | ||
2706 | #define setconsole_trivial_usage \ | 2709 | #define setconsole_trivial_usage \ |
2707 | "[-r|--reset] [DEVICE]" | 2710 | "[-r|--reset] [DEVICE]" |
2708 | #define setconsole_full_usage \ | 2711 | #define setconsole_full_usage \ |
2709 | "Redirects system console output to DEVICE (default: /dev/tty)" \ | 2712 | "Redirect system console output to DEVICE (default: /dev/tty)" \ |
2710 | "\n\nOptions:\n" \ | 2713 | "\n\nOptions:\n" \ |
2711 | " -r Reset output to /dev/console." | 2714 | " -r Reset output to /dev/console" |
2712 | 2715 | ||
2713 | #define setkeycodes_trivial_usage \ | 2716 | #define setkeycodes_trivial_usage \ |
2714 | "SCANCODE KEYCODE ..." | 2717 | "SCANCODE KEYCODE ..." |
@@ -2723,12 +2726,12 @@ | |||
2723 | #define setlogcons_trivial_usage \ | 2726 | #define setlogcons_trivial_usage \ |
2724 | "N" | 2727 | "N" |
2725 | #define setlogcons_full_usage \ | 2728 | #define setlogcons_full_usage \ |
2726 | "Redirects the kernel output to console N (0 for current)." | 2729 | "Redirect the kernel output to console N (0 for current)" |
2727 | 2730 | ||
2728 | #define setsid_trivial_usage \ | 2731 | #define setsid_trivial_usage \ |
2729 | "program [arg ...]" | 2732 | "program [arg ...]" |
2730 | #define setsid_full_usage \ | 2733 | #define setsid_full_usage \ |
2731 | "Runs any program in a new session by calling setsid() before\n" \ | 2734 | "Run any program in a new session by calling setsid() before\n" \ |
2732 | "exec'ing the rest of its arguments. See setsid(2) for details." | 2735 | "exec'ing the rest of its arguments. See setsid(2) for details." |
2733 | 2736 | ||
2734 | #define lash_trivial_usage \ | 2737 | #define lash_trivial_usage \ |
@@ -2748,7 +2751,7 @@ | |||
2748 | #define last_trivial_usage \ | 2751 | #define last_trivial_usage \ |
2749 | "" | 2752 | "" |
2750 | #define last_full_usage \ | 2753 | #define last_full_usage \ |
2751 | "Shows listing of the last users that logged into the system" | 2754 | "Show listing of the last users that logged into the system" |
2752 | 2755 | ||
2753 | #define sha1sum_trivial_usage \ | 2756 | #define sha1sum_trivial_usage \ |
2754 | "[OPTION] [FILEs...]" \ | 2757 | "[OPTION] [FILEs...]" \ |
@@ -2782,7 +2785,7 @@ | |||
2782 | USE_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") \ | 2785 | USE_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") \ |
2783 | "] [FILE]..." | 2786 | "] [FILE]..." |
2784 | #define sort_full_usage \ | 2787 | #define sort_full_usage \ |
2785 | "Sorts lines of text in the specified files" \ | 2788 | "Sort lines of text in the specified files" \ |
2786 | "\n\nOptions:\n" \ | 2789 | "\n\nOptions:\n" \ |
2787 | USE_FEATURE_SORT_BIG( \ | 2790 | USE_FEATURE_SORT_BIG( \ |
2788 | " -b ignore leading blanks\n" \ | 2791 | " -b ignore leading blanks\n" \ |
@@ -2826,7 +2829,7 @@ | |||
2826 | #define start_stop_daemon_trivial_usage \ | 2829 | #define start_stop_daemon_trivial_usage \ |
2827 | "[OPTIONS] [--start|--stop] ... [-- arguments...]" | 2830 | "[OPTIONS] [--start|--stop] ... [-- arguments...]" |
2828 | #define start_stop_daemon_full_usage \ | 2831 | #define start_stop_daemon_full_usage \ |
2829 | "Program to start and stop services." \ | 2832 | "Start and stop services" \ |
2830 | "\n\nOptions:" \ | 2833 | "\n\nOptions:" \ |
2831 | "\n -S|--start start" \ | 2834 | "\n -S|--start start" \ |
2832 | "\n -K|--stop stop" \ | 2835 | "\n -K|--stop stop" \ |
@@ -2902,7 +2905,7 @@ | |||
2902 | #define strings_trivial_usage \ | 2905 | #define strings_trivial_usage \ |
2903 | "[-afo] [-n length] [file ... ]" | 2906 | "[-afo] [-n length] [file ... ]" |
2904 | #define strings_full_usage \ | 2907 | #define strings_full_usage \ |
2905 | "Display printable strings in a binary file." \ | 2908 | "Display printable strings in a binary file" \ |
2906 | "\n\nOptions:" \ | 2909 | "\n\nOptions:" \ |
2907 | "\n -a Scan the whole files (this is the default)." \ | 2910 | "\n -a Scan the whole files (this is the default)." \ |
2908 | "\n -f Precede each string with the name of the file where it was found." \ | 2911 | "\n -f Precede each string with the name of the file where it was found." \ |
@@ -2912,8 +2915,8 @@ | |||
2912 | #define stty_trivial_usage \ | 2915 | #define stty_trivial_usage \ |
2913 | "[-a|g] [-F DEVICE] [SETTING]..." | 2916 | "[-a|g] [-F DEVICE] [SETTING]..." |
2914 | #define stty_full_usage \ | 2917 | #define stty_full_usage \ |
2915 | "Without arguments, prints baud rate, line discipline," \ | 2918 | "Without arguments, prints baud rate, line discipline,\n" \ |
2916 | "\nand deviations from stty sane." \ | 2919 | "and deviations from stty sane." \ |
2917 | "\n\nOptions:" \ | 2920 | "\n\nOptions:" \ |
2918 | "\n -F DEVICE open device instead of stdin" \ | 2921 | "\n -F DEVICE open device instead of stdin" \ |
2919 | "\n -a print all current settings in human-readable form" \ | 2922 | "\n -a print all current settings in human-readable form" \ |
@@ -2948,14 +2951,14 @@ | |||
2948 | "[-v] [-w sec] command service..." | 2951 | "[-v] [-w sec] command service..." |
2949 | #define sv_full_usage \ | 2952 | #define sv_full_usage \ |
2950 | "Report the current status and control the state of services " \ | 2953 | "Report the current status and control the state of services " \ |
2951 | "monitored by the runsv supervisor." | 2954 | "monitored by the runsv supervisor" |
2952 | 2955 | ||
2953 | #define svlogd_trivial_usage \ | 2956 | #define svlogd_trivial_usage \ |
2954 | "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." | 2957 | "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." |
2955 | #define svlogd_full_usage \ | 2958 | #define svlogd_full_usage \ |
2956 | "Continuously read log data from standard input, optionally " \ | 2959 | "Continuously read log data from standard input, optionally " \ |
2957 | "filter log messages, and write the data to one or more automatically " \ | 2960 | "filter log messages, and write the data to one or more automatically " \ |
2958 | "rotated logs." | 2961 | "rotated logs" |
2959 | 2962 | ||
2960 | #define swapoff_trivial_usage \ | 2963 | #define swapoff_trivial_usage \ |
2961 | "[-a] [DEVICE]" | 2964 | "[-a] [DEVICE]" |
@@ -2982,7 +2985,7 @@ | |||
2982 | #define sync_trivial_usage \ | 2985 | #define sync_trivial_usage \ |
2983 | "" | 2986 | "" |
2984 | #define sync_full_usage \ | 2987 | #define sync_full_usage \ |
2985 | "Write all buffered filesystem blocks to disk." | 2988 | "Write all buffered filesystem blocks to disk" |
2986 | 2989 | ||
2987 | #define sysctl_trivial_usage \ | 2990 | #define sysctl_trivial_usage \ |
2988 | "[OPTIONS]... [VALUE]..." | 2991 | "[OPTIONS]... [VALUE]..." |
@@ -3004,7 +3007,7 @@ | |||
3004 | #define syslogd_trivial_usage \ | 3007 | #define syslogd_trivial_usage \ |
3005 | "[OPTION]..." | 3008 | "[OPTION]..." |
3006 | #define syslogd_full_usage \ | 3009 | #define syslogd_full_usage \ |
3007 | "Linux system and kernel logging utility.\n" \ | 3010 | "System logging utility.\n" \ |
3008 | "Note that this version of syslogd ignores /etc/syslog.conf." \ | 3011 | "Note that this version of syslogd ignores /etc/syslog.conf." \ |
3009 | "\n\nOptions:" \ | 3012 | "\n\nOptions:" \ |
3010 | "\n -m MIN Minutes between MARK lines (default=20, 0=off)" \ | 3013 | "\n -m MIN Minutes between MARK lines (default=20, 0=off)" \ |
@@ -3114,8 +3117,7 @@ | |||
3114 | #define telnet_trivial_usage \ | 3117 | #define telnet_trivial_usage \ |
3115 | "[-a] [-l USER] HOST [PORT]" | 3118 | "[-a] [-l USER] HOST [PORT]" |
3116 | #define telnet_full_usage \ | 3119 | #define telnet_full_usage \ |
3117 | "Telnet is used to establish interactive communication with another\n" \ | 3120 | "Connect to remote telnet server" \ |
3118 | "computer over a network using the TELNET protocol" \ | ||
3119 | "\n\nOptions:\n" \ | 3121 | "\n\nOptions:\n" \ |
3120 | " -a Attempt an automatic login with the USER variable\n" \ | 3122 | " -a Attempt an automatic login with the USER variable\n" \ |
3121 | " -l USER Attempt an automatic login with the USER argument\n" \ | 3123 | " -l USER Attempt an automatic login with the USER argument\n" \ |
@@ -3127,26 +3129,13 @@ | |||
3127 | #define telnet_trivial_usage \ | 3129 | #define telnet_trivial_usage \ |
3128 | "HOST [PORT]" | 3130 | "HOST [PORT]" |
3129 | #define telnet_full_usage \ | 3131 | #define telnet_full_usage \ |
3130 | "Telnet is used to establish interactive communication with another\n" \ | 3132 | "Connect to remote telnet server" |
3131 | "computer over a network using the TELNET protocol." | ||
3132 | #endif | 3133 | #endif |
3133 | 3134 | ||
3134 | #ifdef CONFIG_FEATURE_TELNETD_STANDALONE | ||
3135 | #define telnetd_trivial_usage \ | 3135 | #define telnetd_trivial_usage \ |
3136 | "[OPTION]" | 3136 | "[OPTION]" |
3137 | #define telnetd_full_usage \ | 3137 | #define telnetd_full_usage \ |
3138 | "Telnetd listens for incoming TELNET connections on PORT" \ | 3138 | "Handle incoming telnet connections" \ |
3139 | "\n\nOptions:\n" \ | ||
3140 | " -p PORT listen for connections on PORT (default 23)\n" \ | ||
3141 | " -l LOGIN exec LOGIN on connect\n" \ | ||
3142 | " -f issue_file Display issue_file instead of /etc/issue\n" \ | ||
3143 | " -F Foreground mode\n" \ | ||
3144 | " -i Inetd mode" | ||
3145 | #else | ||
3146 | #define telnetd_trivial_usage \ | ||
3147 | "[OPTION]" | ||
3148 | #define telnetd_full_usage \ | ||
3149 | "Telnetd uses incoming TELNET connections" \ | ||
3150 | SKIP_FEATURE_TELNETD_STANDALONE(" via inetd") \ | 3139 | SKIP_FEATURE_TELNETD_STANDALONE(" via inetd") \ |
3151 | "\n\nOptions:" \ | 3140 | "\n\nOptions:" \ |
3152 | "\n -l LOGIN exec LOGIN on connect" \ | 3141 | "\n -l LOGIN exec LOGIN on connect" \ |
@@ -3155,15 +3144,14 @@ | |||
3155 | "\n -p PORT port to listen to" \ | 3144 | "\n -p PORT port to listen to" \ |
3156 | "\n -b ADDR address to bind to" \ | 3145 | "\n -b ADDR address to bind to" \ |
3157 | "\n -F stay in foreground" \ | 3146 | "\n -F stay in foreground" \ |
3158 | "\n -i inetd subservice" \ | 3147 | "\n -i run as inetd subservice" \ |
3159 | ) | 3148 | ) |
3160 | #endif | ||
3161 | 3149 | ||
3162 | #define test_trivial_usage \ | 3150 | #define test_trivial_usage \ |
3163 | "EXPRESSION\n or [ EXPRESSION ]" | 3151 | "EXPRESSION\n or [ EXPRESSION ]" |
3164 | #define test_full_usage \ | 3152 | #define test_full_usage \ |
3165 | "Checks file types and compares values returning an exit\n" \ | 3153 | "Check file types and compares values returning an exit code\n" \ |
3166 | "code determined by the value of EXPRESSION." | 3154 | "determined by the value of EXPRESSION" |
3167 | #define test_example_usage \ | 3155 | #define test_example_usage \ |
3168 | "$ test 1 -eq 2\n" \ | 3156 | "$ test 1 -eq 2\n" \ |
3169 | "$ echo $?\n" \ | 3157 | "$ echo $?\n" \ |
@@ -3181,7 +3169,7 @@ | |||
3181 | #define tftp_trivial_usage \ | 3169 | #define tftp_trivial_usage \ |
3182 | "[OPTION]... HOST [PORT]" | 3170 | "[OPTION]... HOST [PORT]" |
3183 | #define tftp_full_usage \ | 3171 | #define tftp_full_usage \ |
3184 | "Transfers a file from/to a tftp server using \"octet\" mode" \ | 3172 | "Transfer a file from/to tftp server using \"octet\" mode" \ |
3185 | "\n\nOptions:" \ | 3173 | "\n\nOptions:" \ |
3186 | "\n -l FILE Local FILE" \ | 3174 | "\n -l FILE Local FILE" \ |
3187 | "\n -r FILE Remote FILE" \ | 3175 | "\n -r FILE Remote FILE" \ |
@@ -3197,7 +3185,7 @@ | |||
3197 | #define time_trivial_usage \ | 3185 | #define time_trivial_usage \ |
3198 | "[OPTION]... COMMAND [ARGS...]" | 3186 | "[OPTION]... COMMAND [ARGS...]" |
3199 | #define time_full_usage \ | 3187 | #define time_full_usage \ |
3200 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ | 3188 | "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ |
3201 | "COMMAND's resource usage information is displayed." \ | 3189 | "COMMAND's resource usage information is displayed." \ |
3202 | "\n\nOptions:\n" \ | 3190 | "\n\nOptions:\n" \ |
3203 | " -v Displays verbose resource usage information" | 3191 | " -v Displays verbose resource usage information" |
@@ -3205,9 +3193,9 @@ | |||
3205 | #define top_trivial_usage \ | 3193 | #define top_trivial_usage \ |
3206 | "[-b] [-n count] [-d seconds]" | 3194 | "[-b] [-n count] [-d seconds]" |
3207 | #define top_full_usage \ | 3195 | #define top_full_usage \ |
3208 | "top provides a view of process activity in real time.\n" \ | 3196 | "Provide a view of process activity in real time.\n" \ |
3209 | "It reads the status of all processes from /proc each <seconds>\n" \ | 3197 | "Read the status of all processes from /proc each <seconds>\n" \ |
3210 | "and shows the status for however many processes will fit on the screen." | 3198 | "and show the status for however many processes will fit on the screen." |
3211 | 3199 | ||
3212 | #define touch_trivial_usage \ | 3200 | #define touch_trivial_usage \ |
3213 | "[-c] FILE [FILE ...]" | 3201 | "[-c] FILE [FILE ...]" |
@@ -3265,7 +3253,7 @@ | |||
3265 | #define true_trivial_usage \ | 3253 | #define true_trivial_usage \ |
3266 | "" | 3254 | "" |
3267 | #define true_full_usage \ | 3255 | #define true_full_usage \ |
3268 | "Return an exit code of TRUE (0)." | 3256 | "Return an exit code of TRUE (0)" |
3269 | #define true_example_usage \ | 3257 | #define true_example_usage \ |
3270 | "$ true\n" \ | 3258 | "$ true\n" \ |
3271 | "$ echo $?\n" \ | 3259 | "$ echo $?\n" \ |
@@ -3289,7 +3277,7 @@ | |||
3289 | "[-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] " \ | 3277 | "[-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] " \ |
3290 | "[-T last-check-time] [-U UUID] device" | 3278 | "[-T last-check-time] [-U UUID] device" |
3291 | #define tune2fs_full_usage \ | 3279 | #define tune2fs_full_usage \ |
3292 | "Adjust filesystem options on ext[23] filesystems." | 3280 | "Adjust filesystem options on ext[23] filesystems" |
3293 | 3281 | ||
3294 | #define udhcpc_trivial_usage \ | 3282 | #define udhcpc_trivial_usage \ |
3295 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]" | 3283 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]" |
@@ -3319,8 +3307,8 @@ | |||
3319 | #define umount_trivial_usage \ | 3307 | #define umount_trivial_usage \ |
3320 | "[flags] FILESYSTEM|DIRECTORY" | 3308 | "[flags] FILESYSTEM|DIRECTORY" |
3321 | #define umount_full_usage \ | 3309 | #define umount_full_usage \ |
3322 | "Unmount file systems\n" \ | 3310 | "Unmount file systems" \ |
3323 | "\nFlags:" \ | 3311 | "\n\nOptions:\n" \ |
3324 | "\n -a Unmount all file systems" USE_FEATURE_MTAB_SUPPORT(" in /etc/mtab") \ | 3312 | "\n -a Unmount all file systems" USE_FEATURE_MTAB_SUPPORT(" in /etc/mtab") \ |
3325 | USE_FEATURE_MTAB_SUPPORT( \ | 3313 | USE_FEATURE_MTAB_SUPPORT( \ |
3326 | "\n -n Don't erase /etc/mtab entries") \ | 3314 | "\n -n Don't erase /etc/mtab entries") \ |
@@ -3376,9 +3364,9 @@ | |||
3376 | #define unix2dos_trivial_usage \ | 3364 | #define unix2dos_trivial_usage \ |
3377 | "[option] [FILE]" | 3365 | "[option] [FILE]" |
3378 | #define unix2dos_full_usage \ | 3366 | #define unix2dos_full_usage \ |
3379 | "Converts FILE from unix format to dos format. When no option\n" \ | 3367 | "Convert FILE from unix format to dos format. When no option\n" \ |
3380 | "is given, the input is converted to the opposite output format.\n" \ | 3368 | "is given, the input is converted to the opposite output format.\n" \ |
3381 | "When no file is given, uses stdin for input and stdout for output." \ | 3369 | "When no file is given, use stdin for input and stdout for output." \ |
3382 | "\n\nOptions:\n" \ | 3370 | "\n\nOptions:\n" \ |
3383 | " -u output will be in UNIX format\n" \ | 3371 | " -u output will be in UNIX format\n" \ |
3384 | " -d output will be in DOS format" | 3372 | " -d output will be in DOS format" |
@@ -3386,7 +3374,7 @@ | |||
3386 | #define unzip_trivial_usage \ | 3374 | #define unzip_trivial_usage \ |
3387 | "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" | 3375 | "[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" |
3388 | #define unzip_full_usage \ | 3376 | #define unzip_full_usage \ |
3389 | "Extracts files from ZIP archives" \ | 3377 | "Extract files from ZIP archives" \ |
3390 | "\n\nOptions:\n" \ | 3378 | "\n\nOptions:\n" \ |
3391 | " -l list archive contents (short form)\n" \ | 3379 | " -l list archive contents (short form)\n" \ |
3392 | " -n never overwrite existing files (default)\n" \ | 3380 | " -n never overwrite existing files (default)\n" \ |
@@ -3399,7 +3387,7 @@ | |||
3399 | #define uptime_trivial_usage \ | 3387 | #define uptime_trivial_usage \ |
3400 | "" | 3388 | "" |
3401 | #define uptime_full_usage \ | 3389 | #define uptime_full_usage \ |
3402 | "Display the time since the last boot." | 3390 | "Display the time since the last boot" |
3403 | #define uptime_example_usage \ | 3391 | #define uptime_example_usage \ |
3404 | "$ uptime\n" \ | 3392 | "$ uptime\n" \ |
3405 | " 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n" | 3393 | " 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n" |
@@ -3407,7 +3395,7 @@ | |||
3407 | #define usleep_trivial_usage \ | 3395 | #define usleep_trivial_usage \ |
3408 | "N" | 3396 | "N" |
3409 | #define usleep_full_usage \ | 3397 | #define usleep_full_usage \ |
3410 | "Pause for N microseconds." | 3398 | "Pause for N microseconds" |
3411 | #define usleep_example_usage \ | 3399 | #define usleep_example_usage \ |
3412 | "$ usleep 1000000\n" \ | 3400 | "$ usleep 1000000\n" \ |
3413 | "[pauses for 1 second]\n" | 3401 | "[pauses for 1 second]\n" |
@@ -3453,7 +3441,7 @@ | |||
3453 | #define vi_full_usage \ | 3441 | #define vi_full_usage \ |
3454 | "Edit FILE" \ | 3442 | "Edit FILE" \ |
3455 | "\n\nOptions:\n" \ | 3443 | "\n\nOptions:\n" \ |
3456 | " -R Read-only- do not write to the file" | 3444 | " -R Read-only - do not write to the file" |
3457 | 3445 | ||
3458 | #define vlock_trivial_usage \ | 3446 | #define vlock_trivial_usage \ |
3459 | "[OPTIONS]" | 3447 | "[OPTIONS]" |
@@ -3465,7 +3453,7 @@ | |||
3465 | #define watch_trivial_usage \ | 3453 | #define watch_trivial_usage \ |
3466 | "[-n <seconds>] [-t] COMMAND..." | 3454 | "[-n <seconds>] [-t] COMMAND..." |
3467 | #define watch_full_usage \ | 3455 | #define watch_full_usage \ |
3468 | "Executes a program periodically" \ | 3456 | "Execute a program periodically" \ |
3469 | "\n\nOptions:\n" \ | 3457 | "\n\nOptions:\n" \ |
3470 | " -n Loop period in seconds - default is 2\n" \ | 3458 | " -n Loop period in seconds - default is 2\n" \ |
3471 | " -t Don't print header" | 3459 | " -t Don't print header" |
@@ -3514,7 +3502,7 @@ | |||
3514 | #define which_trivial_usage \ | 3502 | #define which_trivial_usage \ |
3515 | "[COMMAND ...]" | 3503 | "[COMMAND ...]" |
3516 | #define which_full_usage \ | 3504 | #define which_full_usage \ |
3517 | "Locates a COMMAND." | 3505 | "Locate a COMMAND" |
3518 | #define which_example_usage \ | 3506 | #define which_example_usage \ |
3519 | "$ which login\n" \ | 3507 | "$ which login\n" \ |
3520 | "/bin/login\n" | 3508 | "/bin/login\n" |
@@ -3522,17 +3510,17 @@ | |||
3522 | #define who_trivial_usage \ | 3510 | #define who_trivial_usage \ |
3523 | " " | 3511 | " " |
3524 | #define who_full_usage \ | 3512 | #define who_full_usage \ |
3525 | "Prints the current user names and related information" | 3513 | "Print the current user names and related information" |
3526 | 3514 | ||
3527 | #define whoami_trivial_usage \ | 3515 | #define whoami_trivial_usage \ |
3528 | "" | 3516 | "" |
3529 | #define whoami_full_usage \ | 3517 | #define whoami_full_usage \ |
3530 | "Prints the user name associated with the current effective user id." | 3518 | "Print the user name associated with the current effective user id" |
3531 | 3519 | ||
3532 | #define xargs_trivial_usage \ | 3520 | #define xargs_trivial_usage \ |
3533 | "[OPTIONS] [COMMAND] [ARGS...]" | 3521 | "[OPTIONS] [COMMAND] [ARGS...]" |
3534 | #define xargs_full_usage \ | 3522 | #define xargs_full_usage \ |
3535 | "Executes COMMAND on every item given by standard input" \ | 3523 | "Execute COMMAND on every item given by standard input" \ |
3536 | "\n\nOptions:\n" \ | 3524 | "\n\nOptions:\n" \ |
3537 | USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ | 3525 | USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ |
3538 | " -p Prompt the user about whether to run each command\n") \ | 3526 | " -p Prompt the user about whether to run each command\n") \ |
@@ -3549,12 +3537,12 @@ | |||
3549 | #define yes_trivial_usage \ | 3537 | #define yes_trivial_usage \ |
3550 | "[OPTION]... [STRING]..." | 3538 | "[OPTION]... [STRING]..." |
3551 | #define yes_full_usage \ | 3539 | #define yes_full_usage \ |
3552 | "Repeatedly outputs a line with all specified STRING(s), or 'y'." | 3540 | "Repeatedly output a line with all specified STRING(s), or 'y'" |
3553 | 3541 | ||
3554 | #define zcat_trivial_usage \ | 3542 | #define zcat_trivial_usage \ |
3555 | "FILE" | 3543 | "FILE" |
3556 | #define zcat_full_usage \ | 3544 | #define zcat_full_usage \ |
3557 | "Uncompress to stdout." | 3545 | "Uncompress to stdout" |
3558 | 3546 | ||
3559 | #define zcip_trivial_usage \ | 3547 | #define zcip_trivial_usage \ |
3560 | "[OPTIONS] ifname script" | 3548 | "[OPTIONS] ifname script" |