diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-07 13:25:09 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-07 13:25:09 +0200 |
commit | 6b0ac8487a7a0332244db86246d3205fa76d7aae (patch) | |
tree | ec01672af8663cae9a1fcb515943039838a4888e | |
parent | c0f39b0fb288206036d2c442588cf597390c3622 (diff) | |
download | busybox-w32-6b0ac8487a7a0332244db86246d3205fa76d7aae.tar.gz busybox-w32-6b0ac8487a7a0332244db86246d3205fa76d7aae.tar.bz2 busybox-w32-6b0ac8487a7a0332244db86246d3205fa76d7aae.zip |
tweak usage texts
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r-- | include/usage.src.h | 135 |
1 files changed, 69 insertions, 66 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 92a106e3b..38d6089b1 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -101,7 +101,7 @@ INSERT | |||
101 | "\n -n Don't resolve names" \ | 101 | "\n -n Don't resolve names" \ |
102 | "\n -i IF Network interface" \ | 102 | "\n -i IF Network interface" \ |
103 | "\n -D Read <hwaddr> from given device" \ | 103 | "\n -D Read <hwaddr> from given device" \ |
104 | "\n -A, -p AF Protocol family" \ | 104 | "\n -A,-p AF Protocol family" \ |
105 | "\n -H HWTYPE Hardware address type" \ | 105 | "\n -H HWTYPE Hardware address type" \ |
106 | 106 | ||
107 | #define arping_trivial_usage \ | 107 | #define arping_trivial_usage \ |
@@ -220,7 +220,7 @@ INSERT | |||
220 | "\n -F Don't store or verify checksum" \ | 220 | "\n -F Don't store or verify checksum" \ |
221 | 221 | ||
222 | #define unlzma_trivial_usage \ | 222 | #define unlzma_trivial_usage \ |
223 | "[OPTIONS] [FILE]..." | 223 | "[-cf] [FILE]..." |
224 | #define unlzma_full_usage "\n\n" \ | 224 | #define unlzma_full_usage "\n\n" \ |
225 | "Decompress FILE (or stdin)\n" \ | 225 | "Decompress FILE (or stdin)\n" \ |
226 | "\nOptions:" \ | 226 | "\nOptions:" \ |
@@ -228,7 +228,7 @@ INSERT | |||
228 | "\n -f Force" \ | 228 | "\n -f Force" \ |
229 | 229 | ||
230 | #define lzma_trivial_usage \ | 230 | #define lzma_trivial_usage \ |
231 | "-d [OPTIONS] [FILE]..." | 231 | "-d [-cf] [FILE]..." |
232 | #define lzma_full_usage "\n\n" \ | 232 | #define lzma_full_usage "\n\n" \ |
233 | "Decompress FILE (or stdin)\n" \ | 233 | "Decompress FILE (or stdin)\n" \ |
234 | "\nOptions:" \ | 234 | "\nOptions:" \ |
@@ -242,7 +242,7 @@ INSERT | |||
242 | "Decompress to stdout" | 242 | "Decompress to stdout" |
243 | 243 | ||
244 | #define unxz_trivial_usage \ | 244 | #define unxz_trivial_usage \ |
245 | "[OPTIONS] [FILE]..." | 245 | "[-cf] [FILE]..." |
246 | #define unxz_full_usage "\n\n" \ | 246 | #define unxz_full_usage "\n\n" \ |
247 | "Decompress FILE (or stdin)\n" \ | 247 | "Decompress FILE (or stdin)\n" \ |
248 | "\nOptions:" \ | 248 | "\nOptions:" \ |
@@ -250,7 +250,7 @@ INSERT | |||
250 | "\n -f Force" \ | 250 | "\n -f Force" \ |
251 | 251 | ||
252 | #define xz_trivial_usage \ | 252 | #define xz_trivial_usage \ |
253 | "-d [OPTIONS] [FILE]..." | 253 | "-d [-cf] [FILE]..." |
254 | #define xz_full_usage "\n\n" \ | 254 | #define xz_full_usage "\n\n" \ |
255 | "Decompress FILE (or stdin)\n" \ | 255 | "Decompress FILE (or stdin)\n" \ |
256 | "\nOptions:" \ | 256 | "\nOptions:" \ |
@@ -534,7 +534,7 @@ INSERT | |||
534 | "Print the config file used by busybox build" | 534 | "Print the config file used by busybox build" |
535 | 535 | ||
536 | #define chrt_trivial_usage \ | 536 | #define chrt_trivial_usage \ |
537 | "[OPTIONS] [PRIO] [PID | PROG ARGS]" | 537 | "[-prfom] [PRIO] [PID | PROG ARGS]" |
538 | #define chrt_full_usage "\n\n" \ | 538 | #define chrt_full_usage "\n\n" \ |
539 | "Change scheduling priority and class for a process\n" \ | 539 | "Change scheduling priority and class for a process\n" \ |
540 | "\nOptions:" \ | 540 | "\nOptions:" \ |
@@ -916,7 +916,7 @@ INSERT | |||
916 | "\n nameserver NORNAL_DNS_SERVER" \ | 916 | "\n nameserver NORNAL_DNS_SERVER" \ |
917 | 917 | ||
918 | #define dos2unix_trivial_usage \ | 918 | #define dos2unix_trivial_usage \ |
919 | "[OPTIONS] [FILE]" | 919 | "[-ud] [FILE]" |
920 | #define dos2unix_full_usage "\n\n" \ | 920 | #define dos2unix_full_usage "\n\n" \ |
921 | "Convert FILE in-place from DOS to Unix format.\n" \ | 921 | "Convert FILE in-place from DOS to Unix format.\n" \ |
922 | "When no file is given, use stdin/stdout.\n" \ | 922 | "When no file is given, use stdin/stdout.\n" \ |
@@ -925,7 +925,7 @@ INSERT | |||
925 | "\n -d unix2dos" \ | 925 | "\n -d unix2dos" \ |
926 | 926 | ||
927 | #define unix2dos_trivial_usage \ | 927 | #define unix2dos_trivial_usage \ |
928 | "[OPTIONS] [FILE]" | 928 | "[-ud] [FILE]" |
929 | #define unix2dos_full_usage "\n\n" \ | 929 | #define unix2dos_full_usage "\n\n" \ |
930 | "Convert FILE in-place from Unix to DOS format.\n" \ | 930 | "Convert FILE in-place from Unix to DOS format.\n" \ |
931 | "When no file is given, use stdin/stdout.\n" \ | 931 | "When no file is given, use stdin/stdout.\n" \ |
@@ -1406,8 +1406,7 @@ INSERT | |||
1406 | "Find processes which use FILEs or PORTs\n" \ | 1406 | "Find processes which use FILEs or PORTs\n" \ |
1407 | "\nOptions:" \ | 1407 | "\nOptions:" \ |
1408 | "\n -m Find processes which use same fs as FILEs" \ | 1408 | "\n -m Find processes which use same fs as FILEs" \ |
1409 | "\n -4 Search only IPv4 space" \ | 1409 | "\n -4,-6 Search only IPv4/IPv6 space" \ |
1410 | "\n -6 Search only IPv6 space" \ | ||
1411 | "\n -s Don't display PIDs" \ | 1410 | "\n -s Don't display PIDs" \ |
1412 | "\n -k Kill found processes" \ | 1411 | "\n -k Kill found processes" \ |
1413 | "\n -SIGNAL Signal to send (default: KILL)" \ | 1412 | "\n -SIGNAL Signal to send (default: KILL)" \ |
@@ -1485,7 +1484,7 @@ INSERT | |||
1485 | "\n -H HOST Log HOST into the utmp file as the hostname" \ | 1484 | "\n -H HOST Log HOST into the utmp file as the hostname" \ |
1486 | 1485 | ||
1487 | #define gunzip_trivial_usage \ | 1486 | #define gunzip_trivial_usage \ |
1488 | "[OPTIONS] [FILE]..." | 1487 | "[-cft] [FILE]..." |
1489 | #define gunzip_full_usage "\n\n" \ | 1488 | #define gunzip_full_usage "\n\n" \ |
1490 | "Decompress FILEs (or stdin)\n" \ | 1489 | "Decompress FILEs (or stdin)\n" \ |
1491 | "\nOptions:" \ | 1490 | "\nOptions:" \ |
@@ -1501,7 +1500,7 @@ INSERT | |||
1501 | "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" | 1500 | "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" |
1502 | 1501 | ||
1503 | #define gzip_trivial_usage \ | 1502 | #define gzip_trivial_usage \ |
1504 | "[OPTIONS] [FILE]..." | 1503 | "[-cfd] [FILE]..." |
1505 | #define gzip_full_usage "\n\n" \ | 1504 | #define gzip_full_usage "\n\n" \ |
1506 | "Compress FILEs (or stdin)\n" \ | 1505 | "Compress FILEs (or stdin)\n" \ |
1507 | "\nOptions:" \ | 1506 | "\nOptions:" \ |
@@ -1703,7 +1702,7 @@ INSERT | |||
1703 | "\n -i Inetd mode" \ | 1702 | "\n -i Inetd mode" \ |
1704 | "\n -f Don't daemonize" \ | 1703 | "\n -f Don't daemonize" \ |
1705 | "\n -v[v] Verbose" \ | 1704 | "\n -v[v] Verbose" \ |
1706 | "\n -p [IP:]PORT Bind to ip:port (default *:80)" \ | 1705 | "\n -p [IP:]PORT Bind to IP:PORT (default *:80)" \ |
1707 | IF_FEATURE_HTTPD_SETUID( \ | 1706 | IF_FEATURE_HTTPD_SETUID( \ |
1708 | "\n -u USER[:GRP] Set uid/gid after binding to port") \ | 1707 | "\n -u USER[:GRP] Set uid/gid after binding to port") \ |
1709 | IF_FEATURE_HTTPD_BASIC_AUTH( \ | 1708 | IF_FEATURE_HTTPD_BASIC_AUTH( \ |
@@ -1740,13 +1739,13 @@ INSERT | |||
1740 | "Print information about USER or the current user\n" \ | 1739 | "Print information about USER or the current user\n" \ |
1741 | "\nOptions:" \ | 1740 | "\nOptions:" \ |
1742 | IF_SELINUX( \ | 1741 | IF_SELINUX( \ |
1743 | "\n -Z Print the security context" \ | 1742 | "\n -Z Security context" \ |
1744 | ) \ | 1743 | ) \ |
1745 | "\n -u Print user ID" \ | 1744 | "\n -u User ID" \ |
1746 | "\n -g Print group ID" \ | 1745 | "\n -g Group ID" \ |
1747 | "\n -G Print supplementary group IDs" \ | 1746 | "\n -G Supplementary group IDs" \ |
1748 | "\n -n Print name instead of a number" \ | 1747 | "\n -n Print names instead of numbers" \ |
1749 | "\n -r Print real user ID instead of effective ID" \ | 1748 | "\n -r Print real ID instead of effective ID" \ |
1750 | 1749 | ||
1751 | #define id_example_usage \ | 1750 | #define id_example_usage \ |
1752 | "$ id\n" \ | 1751 | "$ id\n" \ |
@@ -1778,10 +1777,10 @@ INSERT | |||
1778 | #define ifenslave_full_usage "\n\n" \ | 1777 | #define ifenslave_full_usage "\n\n" \ |
1779 | "Configure network interfaces for parallel routing\n" \ | 1778 | "Configure network interfaces for parallel routing\n" \ |
1780 | "\nOptions:" \ | 1779 | "\nOptions:" \ |
1781 | "\n -c, --change-active Change active slave" \ | 1780 | "\n -c,--change-active Change active slave" \ |
1782 | "\n -d, --detach Remove slave interface from bonding device" \ | 1781 | "\n -d,--detach Remove slave interface from bonding device" \ |
1783 | "\n -f, --force Force, even if interface is not Ethernet" \ | 1782 | "\n -f,--force Force, even if interface is not Ethernet" \ |
1784 | /* "\n -r, --receive-slave Create a receive-only slave" */ | 1783 | /* "\n -r,--receive-slave Create a receive-only slave" */ |
1785 | 1784 | ||
1786 | #define ifenslave_example_usage \ | 1785 | #define ifenslave_example_usage \ |
1787 | "To create a bond device, simply follow these three steps:\n" \ | 1786 | "To create a bond device, simply follow these three steps:\n" \ |
@@ -1826,7 +1825,7 @@ INSERT | |||
1826 | "\n -k Kill running daemon" \ | 1825 | "\n -k Kill running daemon" \ |
1827 | 1826 | ||
1828 | #define ifup_trivial_usage \ | 1827 | #define ifup_trivial_usage \ |
1829 | "[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] IFACE..." | 1828 | "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." |
1830 | #define ifup_full_usage "\n\n" \ | 1829 | #define ifup_full_usage "\n\n" \ |
1831 | "Options:" \ | 1830 | "Options:" \ |
1832 | "\n -a De/configure all interfaces automatically" \ | 1831 | "\n -a De/configure all interfaces automatically" \ |
@@ -1840,7 +1839,7 @@ INSERT | |||
1840 | "\n -f Force de/configuration" \ | 1839 | "\n -f Force de/configuration" \ |
1841 | 1840 | ||
1842 | #define ifdown_trivial_usage \ | 1841 | #define ifdown_trivial_usage \ |
1843 | "[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." | 1842 | "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." |
1844 | #define ifdown_full_usage "\n\n" \ | 1843 | #define ifdown_full_usage "\n\n" \ |
1845 | "Options:" \ | 1844 | "Options:" \ |
1846 | "\n -a De/configure all interfaces automatically" \ | 1845 | "\n -a De/configure all interfaces automatically" \ |
@@ -2327,7 +2326,7 @@ INSERT | |||
2327 | "root\n" | 2326 | "root\n" |
2328 | 2327 | ||
2329 | #define logread_trivial_usage \ | 2328 | #define logread_trivial_usage \ |
2330 | "[OPTIONS]" | 2329 | "[-f]" |
2331 | #define logread_full_usage "\n\n" \ | 2330 | #define logread_full_usage "\n\n" \ |
2332 | "Show messages in syslogd's circular buffer\n" \ | 2331 | "Show messages in syslogd's circular buffer\n" \ |
2333 | "\nOptions:" \ | 2332 | "\nOptions:" \ |
@@ -2544,7 +2543,7 @@ INSERT | |||
2544 | "\nOther options are silently ignored" \ | 2543 | "\nOther options are silently ignored" \ |
2545 | 2544 | ||
2546 | #define man_trivial_usage \ | 2545 | #define man_trivial_usage \ |
2547 | "[OPTIONS] [MANPAGE]..." | 2546 | "[-aw] [MANPAGE]..." |
2548 | #define man_full_usage "\n\n" \ | 2547 | #define man_full_usage "\n\n" \ |
2549 | "Format and display manual page\n" \ | 2548 | "Format and display manual page\n" \ |
2550 | "\nOptions:" \ | 2549 | "\nOptions:" \ |
@@ -2561,8 +2560,8 @@ INSERT | |||
2561 | "\n -V Verify file context on disk matches defaults" \ | 2560 | "\n -V Verify file context on disk matches defaults" \ |
2562 | 2561 | ||
2563 | #define md5sum_trivial_usage \ | 2562 | #define md5sum_trivial_usage \ |
2564 | "[OPTIONS] [FILE]..." \ | 2563 | "[FILE]..." \ |
2565 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTIONS] -c [FILE]") | 2564 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum -c [-sw] [FILE]") |
2566 | #define md5sum_full_usage "\n\n" \ | 2565 | #define md5sum_full_usage "\n\n" \ |
2567 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ | 2566 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ |
2568 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ | 2567 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
@@ -2583,8 +2582,8 @@ INSERT | |||
2583 | "^D\n" | 2582 | "^D\n" |
2584 | 2583 | ||
2585 | #define sha1sum_trivial_usage \ | 2584 | #define sha1sum_trivial_usage \ |
2586 | "[OPTIONS] [FILE]..." \ | 2585 | "[FILE]..." \ |
2587 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTIONS] -c [FILE]") | 2586 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum -c [-sw] [FILE]") |
2588 | #define sha1sum_full_usage "\n\n" \ | 2587 | #define sha1sum_full_usage "\n\n" \ |
2589 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums" \ | 2588 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums" \ |
2590 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ | 2589 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
@@ -2595,8 +2594,8 @@ INSERT | |||
2595 | ) | 2594 | ) |
2596 | 2595 | ||
2597 | #define sha256sum_trivial_usage \ | 2596 | #define sha256sum_trivial_usage \ |
2598 | "[OPTIONS] [FILE]..." \ | 2597 | "[FILE]..." \ |
2599 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha256sum [OPTIONS] -c [FILE]") | 2598 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha256sum -c [-sw] [FILE]") |
2600 | #define sha256sum_full_usage "\n\n" \ | 2599 | #define sha256sum_full_usage "\n\n" \ |
2601 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA256 checksums" \ | 2600 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA256 checksums" \ |
2602 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ | 2601 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
@@ -2607,8 +2606,8 @@ INSERT | |||
2607 | ) | 2606 | ) |
2608 | 2607 | ||
2609 | #define sha512sum_trivial_usage \ | 2608 | #define sha512sum_trivial_usage \ |
2610 | "[OPTIONS] [FILE]..." \ | 2609 | "[FILE]..." \ |
2611 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha512sum [OPTIONS] -c [FILE]") | 2610 | IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha512sum -c [-sw] [FILE]") |
2612 | #define sha512sum_full_usage "\n\n" \ | 2611 | #define sha512sum_full_usage "\n\n" \ |
2613 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA512 checksums" \ | 2612 | "Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA512 checksums" \ |
2614 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ | 2613 | IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
@@ -2675,7 +2674,7 @@ INSERT | |||
2675 | #define mkdir_full_usage "\n\n" \ | 2674 | #define mkdir_full_usage "\n\n" \ |
2676 | "Create DIRECTORY\n" \ | 2675 | "Create DIRECTORY\n" \ |
2677 | "\nOptions:" \ | 2676 | "\nOptions:" \ |
2678 | "\n -m Mode" \ | 2677 | "\n -m MODE Mode" \ |
2679 | "\n -p No error if exists; make parent directories as needed" \ | 2678 | "\n -p No error if exists; make parent directories as needed" \ |
2680 | IF_SELINUX( \ | 2679 | IF_SELINUX( \ |
2681 | "\n -Z Set security context" \ | 2680 | "\n -Z Set security context" \ |
@@ -2690,9 +2689,9 @@ INSERT | |||
2690 | "$ mkdir -p /tmp/foo/bar/baz\n" | 2689 | "$ mkdir -p /tmp/foo/bar/baz\n" |
2691 | 2690 | ||
2692 | #define mkfifo_trivial_usage \ | 2691 | #define mkfifo_trivial_usage \ |
2693 | "[OPTIONS] name" | 2692 | "[-m MODE] " IF_SELINUX("[-Z] ") "NAME" |
2694 | #define mkfifo_full_usage "\n\n" \ | 2693 | #define mkfifo_full_usage "\n\n" \ |
2695 | "Create named pipe (identical to 'mknod name p')\n" \ | 2694 | "Create named pipe\n" \ |
2696 | "\nOptions:" \ | 2695 | "\nOptions:" \ |
2697 | "\n -m MODE Mode (default a=rw)" \ | 2696 | "\n -m MODE Mode (default a=rw)" \ |
2698 | IF_SELINUX( \ | 2697 | IF_SELINUX( \ |
@@ -2774,25 +2773,25 @@ INSERT | |||
2774 | "\n -n LBL Volume label" \ | 2773 | "\n -n LBL Volume label" \ |
2775 | 2774 | ||
2776 | #define mknod_trivial_usage \ | 2775 | #define mknod_trivial_usage \ |
2777 | "[OPTIONS] NAME TYPE MAJOR MINOR" | 2776 | "[-m MODE] " IF_SELINUX("[-Z] ") "NAME TYPE MAJOR MINOR" |
2778 | #define mknod_full_usage "\n\n" \ | 2777 | #define mknod_full_usage "\n\n" \ |
2779 | "Create a special file (block, character, or pipe)\n" \ | 2778 | "Create a special file (block, character, or pipe)\n" \ |
2780 | "\nOptions:" \ | 2779 | "\nOptions:" \ |
2781 | "\n -m Create the special file using the specified mode (default a=rw)" \ | 2780 | "\n -m MODE Creation mode (default a=rw)" \ |
2782 | "\nTYPEs include:" \ | ||
2783 | "\n b: Make a block device" \ | ||
2784 | "\n c or u: Make a character device" \ | ||
2785 | "\n p: Make a named pipe (MAJOR and MINOR are ignored)" \ | ||
2786 | IF_SELINUX( \ | 2781 | IF_SELINUX( \ |
2787 | "\n -Z Set security context" \ | 2782 | "\n -Z Set security context" \ |
2788 | ) | 2783 | ) \ |
2784 | "\nTYPEs:" \ | ||
2785 | "\n b Block device" \ | ||
2786 | "\n c or u Character device" \ | ||
2787 | "\n p Named pipe (MAJOR and MINOR are ignored)" \ | ||
2789 | 2788 | ||
2790 | #define mknod_example_usage \ | 2789 | #define mknod_example_usage \ |
2791 | "$ mknod /dev/fd0 b 2 0\n" \ | 2790 | "$ mknod /dev/fd0 b 2 0\n" \ |
2792 | "$ mknod -m 644 /tmp/pipe p\n" | 2791 | "$ mknod -m 644 /tmp/pipe p\n" |
2793 | 2792 | ||
2794 | #define mkswap_trivial_usage \ | 2793 | #define mkswap_trivial_usage \ |
2795 | "[OPTIONS] BLOCKDEV [KBYTES]" | 2794 | "[-L LBL] BLOCKDEV [KBYTES]" |
2796 | #define mkswap_full_usage "\n\n" \ | 2795 | #define mkswap_full_usage "\n\n" \ |
2797 | "Prepare BLOCKDEV to be used as swap partition\n" \ | 2796 | "Prepare BLOCKDEV to be used as swap partition\n" \ |
2798 | "\nOptions:" \ | 2797 | "\nOptions:" \ |
@@ -2914,8 +2913,8 @@ INSERT | |||
2914 | "setpart tell unload unlock weof wset" \ | 2913 | "setpart tell unload unlock weof wset" \ |
2915 | 2914 | ||
2916 | #define mv_trivial_usage \ | 2915 | #define mv_trivial_usage \ |
2917 | "[OPTIONS] SOURCE DEST\n" \ | 2916 | "[-fi] SOURCE DEST\n" \ |
2918 | "or: mv [OPTIONS] SOURCE... DIRECTORY" | 2917 | "or: mv [-fi] SOURCE... DIRECTORY" |
2919 | #define mv_full_usage "\n\n" \ | 2918 | #define mv_full_usage "\n\n" \ |
2920 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \ | 2919 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \ |
2921 | "\nOptions:" \ | 2920 | "\nOptions:" \ |
@@ -3050,7 +3049,7 @@ INSERT | |||
3050 | "Change USER's password. If no USER is specified,\n" \ | 3049 | "Change USER's password. If no USER is specified,\n" \ |
3051 | "changes the password for the current user.\n" \ | 3050 | "changes the password for the current user.\n" \ |
3052 | "\nOptions:" \ | 3051 | "\nOptions:" \ |
3053 | "\n -a Algorithm to use for password (des, md5)" /* ", sha1)" */ \ | 3052 | "\n -a ALG Algorithm to use for password (des, md5)" /* ", sha1)" */ \ |
3054 | "\n -d Delete password for the account" \ | 3053 | "\n -d Delete password for the account" \ |
3055 | "\n -l Lock (disable) account" \ | 3054 | "\n -l Lock (disable) account" \ |
3056 | "\n -u Unlock (re-enable) account" \ | 3055 | "\n -u Unlock (re-enable) account" \ |
@@ -3117,10 +3116,12 @@ INSERT | |||
3117 | "List PIDs of all processes with names that match NAMEs" \ | 3116 | "List PIDs of all processes with names that match NAMEs" \ |
3118 | USAGE_PIDOF \ | 3117 | USAGE_PIDOF \ |
3119 | IF_FEATURE_PIDOF_SINGLE( \ | 3118 | IF_FEATURE_PIDOF_SINGLE( \ |
3120 | "\n -s Show only one PID") \ | 3119 | "\n -s Show only one PID" \ |
3120 | ) \ | ||
3121 | IF_FEATURE_PIDOF_OMIT( \ | 3121 | IF_FEATURE_PIDOF_OMIT( \ |
3122 | "\n -o PID Omit given pid" \ | 3122 | "\n -o PID Omit given pid" \ |
3123 | "\n Use %PPID to omit pid of pidof's parent") \ | 3123 | "\n Use %PPID to omit pid of pidof's parent" \ |
3124 | ) \ | ||
3124 | 3125 | ||
3125 | #define pidof_example_usage \ | 3126 | #define pidof_example_usage \ |
3126 | "$ pidof init\n" \ | 3127 | "$ pidof init\n" \ |
@@ -3145,7 +3146,7 @@ INSERT | |||
3145 | #define ping_full_usage "\n\n" \ | 3146 | #define ping_full_usage "\n\n" \ |
3146 | "Send ICMP ECHO_REQUEST packets to network hosts\n" \ | 3147 | "Send ICMP ECHO_REQUEST packets to network hosts\n" \ |
3147 | "\nOptions:" \ | 3148 | "\nOptions:" \ |
3148 | "\n -4, -6 Force IP or IPv6 name resolution" \ | 3149 | "\n -4,-6 Force IP or IPv6 name resolution" \ |
3149 | "\n -c CNT Send only CNT pings" \ | 3150 | "\n -c CNT Send only CNT pings" \ |
3150 | "\n -s SIZE Send SIZE data bytes in packets (default:56)" \ | 3151 | "\n -s SIZE Send SIZE data bytes in packets (default:56)" \ |
3151 | "\n -I IFACE/IP Use interface or IP address as source" \ | 3152 | "\n -I IFACE/IP Use interface or IP address as source" \ |
@@ -3437,7 +3438,7 @@ INSERT | |||
3437 | "\n wimax, wwan, gps, fm" \ | 3438 | "\n wimax, wwan, gps, fm" \ |
3438 | 3439 | ||
3439 | #define rm_trivial_usage \ | 3440 | #define rm_trivial_usage \ |
3440 | "[OPTIONS] FILE..." | 3441 | "[-irf] FILE..." |
3441 | #define rm_full_usage "\n\n" \ | 3442 | #define rm_full_usage "\n\n" \ |
3442 | "Remove (unlink) FILEs\n" \ | 3443 | "Remove (unlink) FILEs\n" \ |
3443 | "\nOptions:" \ | 3444 | "\nOptions:" \ |
@@ -3465,12 +3466,12 @@ INSERT | |||
3465 | "# rmdir /tmp/foo\n" | 3466 | "# rmdir /tmp/foo\n" |
3466 | 3467 | ||
3467 | #define rmmod_trivial_usage \ | 3468 | #define rmmod_trivial_usage \ |
3468 | "[OPTIONS] [MODULE]..." | 3469 | "[-wfa] [MODULE]..." |
3469 | #define rmmod_full_usage "\n\n" \ | 3470 | #define rmmod_full_usage "\n\n" \ |
3470 | "Unload the specified kernel modules from the kernel\n" \ | 3471 | "Unload kernel modules\n" \ |
3471 | "\nOptions:" \ | 3472 | "\nOptions:" \ |
3472 | "\n -w Wait until the module is no longer used" \ | 3473 | "\n -w Wait until the module is no longer used" \ |
3473 | "\n -f Force unloading" \ | 3474 | "\n -f Force unload" \ |
3474 | "\n -a Remove all unused modules (recursively)" \ | 3475 | "\n -a Remove all unused modules (recursively)" \ |
3475 | 3476 | ||
3476 | #define rmmod_example_usage \ | 3477 | #define rmmod_example_usage \ |
@@ -3855,9 +3856,9 @@ INSERT | |||
3855 | "[OPTIONS] [INPUT [PREFIX]]" | 3856 | "[OPTIONS] [INPUT [PREFIX]]" |
3856 | #define split_full_usage "\n\n" \ | 3857 | #define split_full_usage "\n\n" \ |
3857 | "Options:" \ | 3858 | "Options:" \ |
3858 | "\n -b n[k|m] Split by bytes" \ | 3859 | "\n -b N[k|m] Split by N (kilo|mega)bytes" \ |
3859 | "\n -l n Split by lines" \ | 3860 | "\n -l N Split by N lines" \ |
3860 | "\n -a n Use n letters as suffix" \ | 3861 | "\n -a N Use N letters as suffix" \ |
3861 | 3862 | ||
3862 | #define split_example_usage \ | 3863 | #define split_example_usage \ |
3863 | "$ split TODO foo\n" \ | 3864 | "$ split TODO foo\n" \ |
@@ -4086,7 +4087,7 @@ INSERT | |||
4086 | "Write all buffered blocks to disk" | 4087 | "Write all buffered blocks to disk" |
4087 | 4088 | ||
4088 | #define fsync_trivial_usage \ | 4089 | #define fsync_trivial_usage \ |
4089 | "[OPTIONS] FILE..." | 4090 | "[-d] FILE..." |
4090 | #define fsync_full_usage "\n\n" \ | 4091 | #define fsync_full_usage "\n\n" \ |
4091 | "Write files' buffered blocks to disk\n" \ | 4092 | "Write files' buffered blocks to disk\n" \ |
4092 | "\nOptions:" \ | 4093 | "\nOptions:" \ |
@@ -4162,7 +4163,7 @@ INSERT | |||
4162 | "pid 1's current affinity mask: 3\n" | 4163 | "pid 1's current affinity mask: 3\n" |
4163 | 4164 | ||
4164 | #define tee_trivial_usage \ | 4165 | #define tee_trivial_usage \ |
4165 | "[OPTIONS] [FILE]..." | 4166 | "[-ai] [FILE]..." |
4166 | #define tee_full_usage "\n\n" \ | 4167 | #define tee_full_usage "\n\n" \ |
4167 | "Copy stdin to each FILE, and also to stdout\n" \ | 4168 | "Copy stdin to each FILE, and also to stdout\n" \ |
4168 | "\nOptions:" \ | 4169 | "\nOptions:" \ |
@@ -4323,7 +4324,7 @@ INSERT | |||
4323 | "\n -u Access files as USER" \ | 4324 | "\n -u Access files as USER" \ |
4324 | 4325 | ||
4325 | #define time_trivial_usage \ | 4326 | #define time_trivial_usage \ |
4326 | "[OPTIONS] PROG ARGS" | 4327 | "[-v] PROG ARGS" |
4327 | #define time_full_usage "\n\n" \ | 4328 | #define time_full_usage "\n\n" \ |
4328 | "Run PROG, display resource usage when it exits\n" \ | 4329 | "Run PROG, display resource usage when it exits\n" \ |
4329 | "\nOptions:" \ | 4330 | "\nOptions:" \ |
@@ -4379,7 +4380,7 @@ INSERT | |||
4379 | "Trace the route to HOST\n" \ | 4380 | "Trace the route to HOST\n" \ |
4380 | "\nOptions:" \ | 4381 | "\nOptions:" \ |
4381 | IF_TRACEROUTE6( \ | 4382 | IF_TRACEROUTE6( \ |
4382 | "\n -4, -6 Force IP or IPv6 name resolution" \ | 4383 | "\n -4,-6 Force IP or IPv6 name resolution" \ |
4383 | ) \ | 4384 | ) \ |
4384 | "\n -F Set the don't fragment bit" \ | 4385 | "\n -F Set the don't fragment bit" \ |
4385 | "\n -I Use ICMP ECHO instead of UDP datagrams" \ | 4386 | "\n -I Use ICMP ECHO instead of UDP datagrams" \ |
@@ -4702,13 +4703,15 @@ INSERT | |||
4702 | "Edit FILE\n" \ | 4703 | "Edit FILE\n" \ |
4703 | "\nOptions:" \ | 4704 | "\nOptions:" \ |
4704 | IF_FEATURE_VI_COLON( \ | 4705 | IF_FEATURE_VI_COLON( \ |
4705 | "\n -c Initial command to run ($EXINIT also available)") \ | 4706 | "\n -c Initial command to run ($EXINIT also available)" \ |
4707 | ) \ | ||
4706 | IF_FEATURE_VI_READONLY( \ | 4708 | IF_FEATURE_VI_READONLY( \ |
4707 | "\n -R Read-only") \ | 4709 | "\n -R Read-only" \ |
4710 | ) \ | ||
4708 | "\n -H Short help regarding available features" \ | 4711 | "\n -H Short help regarding available features" \ |
4709 | 4712 | ||
4710 | #define vlock_trivial_usage \ | 4713 | #define vlock_trivial_usage \ |
4711 | "[OPTIONS]" | 4714 | "[-a]" |
4712 | #define vlock_full_usage "\n\n" \ | 4715 | #define vlock_full_usage "\n\n" \ |
4713 | "Lock a virtual terminal. A password is required to unlock.\n" \ | 4716 | "Lock a virtual terminal. A password is required to unlock.\n" \ |
4714 | "\nOptions:" \ | 4717 | "\nOptions:" \ |