diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-05 02:44:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-05 02:44:34 +0100 |
commit | 14b0f4feb3648378acb5eba12c8fcd8fa291b231 (patch) | |
tree | 1c9506fffc07b844db7802978017f36538fbc47f | |
parent | e9ac32a067c6c22bdc8800bb8a233352ad1e497c (diff) | |
download | busybox-w32-14b0f4feb3648378acb5eba12c8fcd8fa291b231.tar.gz busybox-w32-14b0f4feb3648378acb5eba12c8fcd8fa291b231.tar.bz2 busybox-w32-14b0f4feb3648378acb5eba12c8fcd8fa291b231.zip |
trim usage text. -238 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/usage.h | 118 |
1 files changed, 60 insertions, 58 deletions
diff --git a/include/usage.h b/include/usage.h index 6978bb6e9..2eb5c007a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -145,7 +145,7 @@ | |||
145 | "bar" | 145 | "bar" |
146 | 146 | ||
147 | #define beep_trivial_usage \ | 147 | #define beep_trivial_usage \ |
148 | "-f freq -l length -d delay -r repetitions -n" | 148 | "-f FREQ -l LEN -d DELAY -r COUNT -n" |
149 | #define beep_full_usage "\n\n" \ | 149 | #define beep_full_usage "\n\n" \ |
150 | "Options:" \ | 150 | "Options:" \ |
151 | "\n -f Frequency in Hz" \ | 151 | "\n -f Frequency in Hz" \ |
@@ -614,13 +614,13 @@ | |||
614 | "Crypt the PASSWORD using crypt(3)\n" \ | 614 | "Crypt the PASSWORD using crypt(3)\n" \ |
615 | "\nOptions:" \ | 615 | "\nOptions:" \ |
616 | IF_LONG_OPTS( \ | 616 | IF_LONG_OPTS( \ |
617 | "\n -P,--password-fd=NUM Read password from fd NUM" \ | 617 | "\n -P,--password-fd=N Read password from fd N" \ |
618 | /* "\n -s,--stdin Use stdin; like -P0" */ \ | 618 | /* "\n -s,--stdin Use stdin; like -P0" */ \ |
619 | "\n -m,--method=TYPE Encryption method TYPE" \ | 619 | "\n -m,--method=TYPE Encryption method TYPE" \ |
620 | "\n -S,--salt=SALT" \ | 620 | "\n -S,--salt=SALT" \ |
621 | ) \ | 621 | ) \ |
622 | IF_NOT_LONG_OPTS( \ | 622 | IF_NOT_LONG_OPTS( \ |
623 | "\n -P NUM Read password from fd NUM" \ | 623 | "\n -P N Read password from fd N" \ |
624 | /* "\n -s Use stdin; like -P0" */ \ | 624 | /* "\n -s Use stdin; like -P0" */ \ |
625 | "\n -m TYPE Encryption method TYPE" \ | 625 | "\n -m TYPE Encryption method TYPE" \ |
626 | "\n -S SALT" \ | 626 | "\n -S SALT" \ |
@@ -635,13 +635,13 @@ | |||
635 | "Crypt the PASSWORD using crypt(3)\n" \ | 635 | "Crypt the PASSWORD using crypt(3)\n" \ |
636 | "\nOptions:" \ | 636 | "\nOptions:" \ |
637 | IF_LONG_OPTS( \ | 637 | IF_LONG_OPTS( \ |
638 | "\n -P,--password-fd=NUM Read password from fd NUM" \ | 638 | "\n -P,--password-fd=N Read password from fd N" \ |
639 | /* "\n -s,--stdin Use stdin; like -P0" */ \ | 639 | /* "\n -s,--stdin Use stdin; like -P0" */ \ |
640 | "\n -m,--method=TYPE Encryption method TYPE" \ | 640 | "\n -m,--method=TYPE Encryption method TYPE" \ |
641 | "\n -S,--salt=SALT" \ | 641 | "\n -S,--salt=SALT" \ |
642 | ) \ | 642 | ) \ |
643 | IF_NOT_LONG_OPTS( \ | 643 | IF_NOT_LONG_OPTS( \ |
644 | "\n -P NUM Read password from fd NUM" \ | 644 | "\n -P N Read password from fd N" \ |
645 | /* "\n -s Use stdin; like -P0" */ \ | 645 | /* "\n -s Use stdin; like -P0" */ \ |
646 | "\n -m TYPE Encryption method TYPE" \ | 646 | "\n -m TYPE Encryption method TYPE" \ |
647 | "\n -S SALT" \ | 647 | "\n -S SALT" \ |
@@ -1002,6 +1002,7 @@ | |||
1002 | "\n -a Interpret lease times as expire time" \ | 1002 | "\n -a Interpret lease times as expire time" \ |
1003 | ) | 1003 | ) |
1004 | 1004 | ||
1005 | /* | ||
1005 | #define e2fsck_trivial_usage \ | 1006 | #define e2fsck_trivial_usage \ |
1006 | "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " \ | 1007 | "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " \ |
1007 | "[-I inode_buffer_blocks] [-P process_inode_size] " \ | 1008 | "[-I inode_buffer_blocks] [-P process_inode_size] " \ |
@@ -1021,6 +1022,7 @@ | |||
1021 | "\n -j journal Set location of the external journal" \ | 1022 | "\n -j journal Set location of the external journal" \ |
1022 | "\n -l file Add to badblocks list" \ | 1023 | "\n -l file Add to badblocks list" \ |
1023 | "\n -L file Set badblocks list" \ | 1024 | "\n -L file Set badblocks list" \ |
1025 | */ | ||
1024 | 1026 | ||
1025 | #define echo_trivial_usage \ | 1027 | #define echo_trivial_usage \ |
1026 | IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG...]" | 1028 | IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG...]" |
@@ -1077,7 +1079,7 @@ | |||
1077 | "\n -p pass Append four or six byte password PW to the packet" \ | 1079 | "\n -p pass Append four or six byte password PW to the packet" \ |
1078 | 1080 | ||
1079 | #define expand_trivial_usage \ | 1081 | #define expand_trivial_usage \ |
1080 | "[-i] [-t NUM] [FILE|-]" | 1082 | "[-i] [-t N] [FILE|-]" |
1081 | #define expand_full_usage "\n\n" \ | 1083 | #define expand_full_usage "\n\n" \ |
1082 | "Convert tabs to spaces, writing to standard output\n" \ | 1084 | "Convert tabs to spaces, writing to standard output\n" \ |
1083 | "\nOptions:" \ | 1085 | "\nOptions:" \ |
@@ -1513,7 +1515,7 @@ | |||
1513 | "\n -s Suppress file open/read error messages" \ | 1515 | "\n -s Suppress file open/read error messages" \ |
1514 | "\n -c Only print count of matching lines" \ | 1516 | "\n -c Only print count of matching lines" \ |
1515 | "\n -o Show only the part of a line that matches PATTERN" \ | 1517 | "\n -o Show only the part of a line that matches PATTERN" \ |
1516 | "\n -m MAX Match up to MAX times per file" \ | 1518 | "\n -m N Match up to N times per file" \ |
1517 | IF_DESKTOP( \ | 1519 | IF_DESKTOP( \ |
1518 | "\n -w Match whole words only") \ | 1520 | "\n -w Match whole words only") \ |
1519 | "\n -F PATTERN is a set of newline-separated strings" \ | 1521 | "\n -F PATTERN is a set of newline-separated strings" \ |
@@ -1522,9 +1524,9 @@ | |||
1522 | "\n -e PTRN Pattern to match" \ | 1524 | "\n -e PTRN Pattern to match" \ |
1523 | "\n -f FILE Read pattern from file" \ | 1525 | "\n -f FILE Read pattern from file" \ |
1524 | IF_FEATURE_GREP_CONTEXT( \ | 1526 | IF_FEATURE_GREP_CONTEXT( \ |
1525 | "\n -A Print NUM lines of trailing context" \ | 1527 | "\n -A N Print N lines of trailing context" \ |
1526 | "\n -B Print NUM lines of leading context" \ | 1528 | "\n -B N Print N lines of leading context" \ |
1527 | "\n -C Print NUM lines of output context") \ | 1529 | "\n -C N Print N lines of output context") \ |
1528 | IF_EXTRA_COMPAT( \ | 1530 | IF_EXTRA_COMPAT( \ |
1529 | "\n -z Input is NUL terminated") \ | 1531 | "\n -z Input is NUL terminated") \ |
1530 | 1532 | ||
@@ -1573,7 +1575,7 @@ | |||
1573 | "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" | 1575 | "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" |
1574 | 1576 | ||
1575 | #define halt_trivial_usage \ | 1577 | #define halt_trivial_usage \ |
1576 | "[-d delay] [-n] [-f]" IF_FEATURE_WTMP(" [-w]") | 1578 | "[-d DELAY] [-n] [-f]" IF_FEATURE_WTMP(" [-w]") |
1577 | #define halt_full_usage "\n\n" \ | 1579 | #define halt_full_usage "\n\n" \ |
1578 | "Halt the system\n" \ | 1580 | "Halt the system\n" \ |
1579 | "\nOptions:" \ | 1581 | "\nOptions:" \ |
@@ -1641,9 +1643,9 @@ | |||
1641 | "Print first 10 lines of each FILE (or standard input) to standard output.\n" \ | 1643 | "Print first 10 lines of each FILE (or standard input) to standard output.\n" \ |
1642 | "With more than one FILE, precede each with a header giving the file name.\n" \ | 1644 | "With more than one FILE, precede each with a header giving the file name.\n" \ |
1643 | "\nOptions:" \ | 1645 | "\nOptions:" \ |
1644 | "\n -n NUM Print first NUM lines instead of first 10" \ | 1646 | "\n -n N Print first N lines instead of first 10" \ |
1645 | IF_FEATURE_FANCY_HEAD( \ | 1647 | IF_FEATURE_FANCY_HEAD( \ |
1646 | "\n -c NUM Output the first NUM bytes" \ | 1648 | "\n -c N Output the first N bytes" \ |
1647 | "\n -q Never output headers giving file names" \ | 1649 | "\n -q Never output headers giving file names" \ |
1648 | "\n -v Always output headers giving file names") \ | 1650 | "\n -v Always output headers giving file names") \ |
1649 | 1651 | ||
@@ -2463,7 +2465,7 @@ | |||
2463 | "\n -S Sort by file size") \ | 2465 | "\n -S Sort by file size") \ |
2464 | "\n -s List the size of each file, in blocks" \ | 2466 | "\n -s List the size of each file, in blocks" \ |
2465 | IF_FEATURE_AUTOWIDTH( \ | 2467 | IF_FEATURE_AUTOWIDTH( \ |
2466 | "\n -T NUM Assume tabstop every NUM columns") \ | 2468 | "\n -T N Assume tabstop every N columns") \ |
2467 | IF_FEATURE_LS_TIMESTAMPS( \ | 2469 | IF_FEATURE_LS_TIMESTAMPS( \ |
2468 | "\n -t With -l: sort by modification time") \ | 2470 | "\n -t With -l: sort by modification time") \ |
2469 | IF_FEATURE_LS_TIMESTAMPS( \ | 2471 | IF_FEATURE_LS_TIMESTAMPS( \ |
@@ -2471,7 +2473,7 @@ | |||
2471 | IF_FEATURE_LS_SORTFILES( \ | 2473 | IF_FEATURE_LS_SORTFILES( \ |
2472 | "\n -v Sort by version") \ | 2474 | "\n -v Sort by version") \ |
2473 | IF_FEATURE_AUTOWIDTH( \ | 2475 | IF_FEATURE_AUTOWIDTH( \ |
2474 | "\n -w NUM Assume the terminal is NUM columns wide") \ | 2476 | "\n -w N Assume the terminal is N columns wide") \ |
2475 | "\n -x List by lines" \ | 2477 | "\n -x List by lines" \ |
2476 | IF_FEATURE_LS_SORTFILES( \ | 2478 | IF_FEATURE_LS_SORTFILES( \ |
2477 | "\n -X Sort by extension") \ | 2479 | "\n -X Sort by extension") \ |
@@ -2748,7 +2750,7 @@ | |||
2748 | /* "\n -E opts Set extended options" */ \ | 2750 | /* "\n -E opts Set extended options" */ \ |
2749 | /* "\n -f size Fragment size in bytes" */ \ | 2751 | /* "\n -f size Fragment size in bytes" */ \ |
2750 | "\n -F Force" \ | 2752 | "\n -F Force" \ |
2751 | /* "\n -g num Number of blocks in a block group" */ \ | 2753 | /* "\n -g N Number of blocks in a block group" */ \ |
2752 | "\n -i RATIO Max number of files is filesystem_size / RATIO" \ | 2754 | "\n -i RATIO Max number of files is filesystem_size / RATIO" \ |
2753 | "\n -I BYTES Inode size (min 128)" \ | 2755 | "\n -I BYTES Inode size (min 128)" \ |
2754 | /* "\n -j Create a journal (ext3)" */ \ | 2756 | /* "\n -j Create a journal (ext3)" */ \ |
@@ -2758,7 +2760,7 @@ | |||
2758 | "\n -m PERCENT Percent of blocks to reserve for admin" \ | 2760 | "\n -m PERCENT Percent of blocks to reserve for admin" \ |
2759 | /* "\n -M dir Set last mounted directory" */ \ | 2761 | /* "\n -M dir Set last mounted directory" */ \ |
2760 | "\n -n Dry run" \ | 2762 | "\n -n Dry run" \ |
2761 | /* "\n -N num Number of inodes to create" */ \ | 2763 | /* "\n -N N Number of inodes to create" */ \ |
2762 | /* "\n -o os Set the 'creator os' field" */ \ | 2764 | /* "\n -o os Set the 'creator os' field" */ \ |
2763 | /* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \ | 2765 | /* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \ |
2764 | /* "\n -q Quiet" */ \ | 2766 | /* "\n -q Quiet" */ \ |
@@ -2946,7 +2948,7 @@ | |||
2946 | "$ dmesg | more\n" | 2948 | "$ dmesg | more\n" |
2947 | 2949 | ||
2948 | #define mount_trivial_usage \ | 2950 | #define mount_trivial_usage \ |
2949 | "[flags] DEVICE NODE [-o OPT,OPT]" | 2951 | "[OPTIONS] [-o OPTS] DEVICE NODE" |
2950 | #define mount_full_usage "\n\n" \ | 2952 | #define mount_full_usage "\n\n" \ |
2951 | "Mount a filesystem. Filesystem autodetection requires /proc.\n" \ | 2953 | "Mount a filesystem. Filesystem autodetection requires /proc.\n" \ |
2952 | "\nOptions:" \ | 2954 | "\nOptions:" \ |
@@ -2985,14 +2987,13 @@ | |||
2985 | "\n [r]slave Convert [recursively] to a slave subtree" \ | 2987 | "\n [r]slave Convert [recursively] to a slave subtree" \ |
2986 | "\n [r]private Convert [recursively] to a private subtree" \ | 2988 | "\n [r]private Convert [recursively] to a private subtree" \ |
2987 | "\n [un]bindable Make mount point [un]able to be bind mounted" \ | 2989 | "\n [un]bindable Make mount point [un]able to be bind mounted" \ |
2988 | "\n bind Bind a directory to an additional location" \ | 2990 | "\n bind Bind a file or directory to another location" \ |
2989 | "\n move Relocate an existing mount point" \ | 2991 | "\n move Relocate an existing mount point" \ |
2990 | ) \ | 2992 | ) \ |
2991 | "\n remount Remount a mounted filesystem, changing its flags" \ | 2993 | "\n remount Remount a mounted filesystem, changing flags" \ |
2992 | "\n ro/rw Read-only/read-write mount" \ | 2994 | "\n ro/rw Same as -r/-w" \ |
2993 | "\n" \ | 2995 | "\n" \ |
2994 | "\nThere are EVEN MORE flags that are specific to each filesystem" \ | 2996 | "\nThere are filesystem-specific -o flags." \ |
2995 | "\nYou'll have to see the written documentation for those filesystems" \ | ||
2996 | 2997 | ||
2997 | #define mount_example_usage \ | 2998 | #define mount_example_usage \ |
2998 | "$ mount\n" \ | 2999 | "$ mount\n" \ |
@@ -3243,10 +3244,11 @@ | |||
3243 | #define openvt_example_usage \ | 3244 | #define openvt_example_usage \ |
3244 | "openvt 2 /bin/ash\n" | 3245 | "openvt 2 /bin/ash\n" |
3245 | 3246 | ||
3247 | /* | ||
3246 | #define parse_trivial_usage \ | 3248 | #define parse_trivial_usage \ |
3247 | "[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..." | 3249 | "[-n MAXTOKENS] [-m MINTOKENS] [-d DELIMS] [-f FLAGS] FILE..." |
3248 | #define parse_full_usage "\n\n" \ | 3250 | #define parse_full_usage "" |
3249 | "[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..." | 3251 | */ |
3250 | 3252 | ||
3251 | #define passwd_trivial_usage \ | 3253 | #define passwd_trivial_usage \ |
3252 | "[OPTIONS] [USER]" | 3254 | "[OPTIONS] [USER]" |
@@ -3254,7 +3256,7 @@ | |||
3254 | "Change USER's password. If no USER is specified,\n" \ | 3256 | "Change USER's password. If no USER is specified,\n" \ |
3255 | "changes the password for the current user.\n" \ | 3257 | "changes the password for the current user.\n" \ |
3256 | "\nOptions:" \ | 3258 | "\nOptions:" \ |
3257 | "\n -a Algorithm to use for password (choices: des, md5)" /* ", sha1)" */ \ | 3259 | "\n -a Algorithm to use for password (des, md5)" /* ", sha1)" */ \ |
3258 | "\n -d Delete password for the account" \ | 3260 | "\n -d Delete password for the account" \ |
3259 | "\n -l Lock (disable) account" \ | 3261 | "\n -l Lock (disable) account" \ |
3260 | "\n -u Unlock (re-enable) account" \ | 3262 | "\n -u Unlock (re-enable) account" \ |
@@ -3277,14 +3279,14 @@ | |||
3277 | "[OPTIONS] [ORIGFILE [PATCHFILE]]" | 3279 | "[OPTIONS] [ORIGFILE [PATCHFILE]]" |
3278 | #define patch_full_usage "\n\n" \ | 3280 | #define patch_full_usage "\n\n" \ |
3279 | IF_LONG_OPTS( \ | 3281 | IF_LONG_OPTS( \ |
3280 | " -p,--strip NUM Strip NUM leading components from file names" \ | 3282 | " -p,--strip N Strip N leading components from file names" \ |
3281 | "\n -i,--input DIFF Read DIFF instead of stdin" \ | 3283 | "\n -i,--input DIFF Read DIFF instead of stdin" \ |
3282 | "\n -R,--reverse Reverse patch" \ | 3284 | "\n -R,--reverse Reverse patch" \ |
3283 | "\n -N,--forward Ignore already applied patches" \ | 3285 | "\n -N,--forward Ignore already applied patches" \ |
3284 | "\n --dry-run Don't actually change files" \ | 3286 | "\n --dry-run Don't actually change files" \ |
3285 | ) \ | 3287 | ) \ |
3286 | IF_NOT_LONG_OPTS( \ | 3288 | IF_NOT_LONG_OPTS( \ |
3287 | " -p NUM Strip NUM leading components from file names" \ | 3289 | " -p N Strip N leading components from file names" \ |
3288 | "\n -i DIFF Read DIFF instead of stdin" \ | 3290 | "\n -i DIFF Read DIFF instead of stdin" \ |
3289 | "\n -R Reverse patch" \ | 3291 | "\n -R Reverse patch" \ |
3290 | "\n -N Ignore already applied patches" \ | 3292 | "\n -N Ignore already applied patches" \ |
@@ -3413,34 +3415,34 @@ | |||
3413 | "\n -P Match parent process ID" \ | 3415 | "\n -P Match parent process ID" \ |
3414 | 3416 | ||
3415 | #define popmaildir_trivial_usage \ | 3417 | #define popmaildir_trivial_usage \ |
3416 | "[OPTIONS] Maildir [connection-helper ...]" | 3418 | "[OPTIONS] MAILDIR [CONN_HELPER ARGS]" |
3417 | #define popmaildir_full_usage "\n\n" \ | 3419 | #define popmaildir_full_usage "\n\n" \ |
3418 | "Fetch content of remote mailbox to local maildir\n" \ | 3420 | "Fetch content of remote mailbox to local maildir\n" \ |
3419 | "\nOptions:" \ | 3421 | "\nOptions:" \ |
3420 | "\n -b Binary mode. Ignored" \ | 3422 | /* "\n -b Binary mode. Ignored" */ \ |
3421 | "\n -d Debug. Ignored" \ | 3423 | /* "\n -d Debug. Ignored" */ \ |
3422 | "\n -m Show used memory. Ignored" \ | 3424 | /* "\n -m Show used memory. Ignored" */ \ |
3423 | "\n -V Show version. Ignored" \ | 3425 | /* "\n -V Show version. Ignored" */ \ |
3424 | "\n -c Use tcpclient. Ignored" \ | 3426 | /* "\n -c Use tcpclient. Ignored" */ \ |
3425 | "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" \ | 3427 | /* "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" */ \ |
3426 | "\n -s Skip authorization" \ | 3428 | "\n -s Skip authorization" \ |
3427 | "\n -T Get messages with TOP instead with RETR" \ | 3429 | "\n -T Get messages with TOP instead with RETR" \ |
3428 | "\n -k Keep retrieved messages on the server" \ | 3430 | "\n -k Keep retrieved messages on the server" \ |
3429 | "\n -t timeout Network timeout" \ | 3431 | "\n -t SEC Network timeout" \ |
3430 | IF_FEATURE_POPMAILDIR_DELIVERY( \ | 3432 | IF_FEATURE_POPMAILDIR_DELIVERY( \ |
3431 | "\n -F \"program arg1 arg2 ...\" Filter by program. May be multiple" \ | 3433 | "\n -F \"PROG ARGS\" Filter program. May be multiple" \ |
3432 | "\n -M \"program arg1 arg2 ...\" Deliver by program" \ | 3434 | "\n -M \"PROG ARGS\" Delivery program" \ |
3433 | ) \ | 3435 | ) \ |
3434 | "\n -R size Remove old messages on the server >= size (in bytes). Ignored" \ | 3436 | /* "\n -R BYTES Remove old messages on the server >= BYTES. Ignored" */ |
3435 | "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" \ | 3437 | /* "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" */ |
3436 | "\n -L size Don't retrieve new messages >= size (in bytes). Ignored" \ | 3438 | /* "\n -L BYTES Don't retrieve new messages >= BYTES. Ignored" */ |
3437 | "\n -H lines Type specified number of lines of a message. Ignored" | 3439 | /* "\n -H LINES Type first LINES of a message. Ignored" */ |
3438 | #define popmaildir_example_usage \ | 3440 | #define popmaildir_example_usage \ |
3439 | "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ | 3441 | "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ |
3440 | "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" | 3442 | "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" |
3441 | 3443 | ||
3442 | #define poweroff_trivial_usage \ | 3444 | #define poweroff_trivial_usage \ |
3443 | "[-d delay] [-n] [-f]" | 3445 | "[-d DELAY] [-n] [-f]" |
3444 | #define poweroff_full_usage "\n\n" \ | 3446 | #define poweroff_full_usage "\n\n" \ |
3445 | "Halt and shut off power\n" \ | 3447 | "Halt and shut off power\n" \ |
3446 | "\nOptions:" \ | 3448 | "\nOptions:" \ |
@@ -3591,7 +3593,7 @@ | |||
3591 | "Return the absolute pathnames of given argument" | 3593 | "Return the absolute pathnames of given argument" |
3592 | 3594 | ||
3593 | #define reboot_trivial_usage \ | 3595 | #define reboot_trivial_usage \ |
3594 | "[-d delay] [-n] [-f]" | 3596 | "[-d DELAY] [-n] [-f]" |
3595 | #define reboot_full_usage "\n\n" \ | 3597 | #define reboot_full_usage "\n\n" \ |
3596 | "Reboot the system\n" \ | 3598 | "Reboot the system\n" \ |
3597 | "\nOptions:" \ | 3599 | "\nOptions:" \ |
@@ -4223,11 +4225,11 @@ | |||
4223 | "\n [SETTING] See manpage" \ | 4225 | "\n [SETTING] See manpage" \ |
4224 | 4226 | ||
4225 | #define su_trivial_usage \ | 4227 | #define su_trivial_usage \ |
4226 | "[OPTIONS] [-] [username]" | 4228 | "[OPTIONS] [-] [USERNAME]" |
4227 | #define su_full_usage "\n\n" \ | 4229 | #define su_full_usage "\n\n" \ |
4228 | "Change user id or become root\n" \ | 4230 | "Change user id or become root\n" \ |
4229 | "\nOptions:" \ | 4231 | "\nOptions:" \ |
4230 | "\n -p, -m Preserve environment" \ | 4232 | "\n -p,-m Preserve environment" \ |
4231 | "\n -c CMD Command to pass to 'sh -c'" \ | 4233 | "\n -c CMD Command to pass to 'sh -c'" \ |
4232 | "\n -s SH Shell to use instead of default shell" \ | 4234 | "\n -s SH Shell to use instead of default shell" \ |
4233 | 4235 | ||
@@ -4247,7 +4249,7 @@ | |||
4247 | "\n -s Use System V sum algorithm (512byte blocks)" \ | 4249 | "\n -s Use System V sum algorithm (512byte blocks)" \ |
4248 | 4250 | ||
4249 | #define sv_trivial_usage \ | 4251 | #define sv_trivial_usage \ |
4250 | "[-v] [-w sec] command service..." | 4252 | "[-v] [-w SEC] command service..." |
4251 | #define sv_full_usage "\n\n" \ | 4253 | #define sv_full_usage "\n\n" \ |
4252 | "Control services monitored by runsv supervisor.\n" \ | 4254 | "Control services monitored by runsv supervisor.\n" \ |
4253 | "Commands (only first character is enough):\n" \ | 4255 | "Commands (only first character is enough):\n" \ |
@@ -4277,13 +4279,13 @@ | |||
4277 | "\n -a Stop swapping on all swap devices" \ | 4279 | "\n -a Stop swapping on all swap devices" \ |
4278 | 4280 | ||
4279 | #define swapon_trivial_usage \ | 4281 | #define swapon_trivial_usage \ |
4280 | "[-a]" IF_FEATURE_SWAPON_PRI(" [-p pri]") " [DEVICE]" | 4282 | "[-a]" IF_FEATURE_SWAPON_PRI(" [-p PRI]") " [DEVICE]" |
4281 | #define swapon_full_usage "\n\n" \ | 4283 | #define swapon_full_usage "\n\n" \ |
4282 | "Start swapping on DEVICE\n" \ | 4284 | "Start swapping on DEVICE\n" \ |
4283 | "\nOptions:" \ | 4285 | "\nOptions:" \ |
4284 | "\n -a Start swapping on all swap devices" \ | 4286 | "\n -a Start swapping on all swap devices" \ |
4285 | IF_FEATURE_SWAPON_PRI( \ | 4287 | IF_FEATURE_SWAPON_PRI( \ |
4286 | "\n -p pri Set swap device priority" \ | 4288 | "\n -p PRI Set swap device priority" \ |
4287 | ) \ | 4289 | ) \ |
4288 | 4290 | ||
4289 | #define switch_root_trivial_usage \ | 4291 | #define switch_root_trivial_usage \ |
@@ -4338,7 +4340,7 @@ | |||
4338 | "\n -S Smaller logging output" \ | 4340 | "\n -S Smaller logging output" \ |
4339 | IF_FEATURE_ROTATE_LOGFILE( \ | 4341 | IF_FEATURE_ROTATE_LOGFILE( \ |
4340 | "\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \ | 4342 | "\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \ |
4341 | "\n -b NUM Number of rotated logs to keep (default:1, max=99, 0=purge)") \ | 4343 | "\n -b N N rotated logs to keep (default:1, max=99, 0=purge)") \ |
4342 | IF_FEATURE_REMOTE_LOG( \ | 4344 | IF_FEATURE_REMOTE_LOG( \ |
4343 | "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ | 4345 | "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ |
4344 | "\n -L Log locally and via network (default is network only if -R)") \ | 4346 | "\n -L Log locally and via network (default is network only if -R)") \ |
@@ -4825,7 +4827,7 @@ | |||
4825 | ) | 4827 | ) |
4826 | 4828 | ||
4827 | #define umount_trivial_usage \ | 4829 | #define umount_trivial_usage \ |
4828 | "[flags] FILESYSTEM|DIRECTORY" | 4830 | "[OPTIONS] FILESYSTEM|DIRECTORY" |
4829 | #define umount_full_usage "\n\n" \ | 4831 | #define umount_full_usage "\n\n" \ |
4830 | "Unmount file systems\n" \ | 4832 | "Unmount file systems\n" \ |
4831 | "\nOptions:" \ | 4833 | "\nOptions:" \ |
@@ -4863,7 +4865,7 @@ | |||
4863 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" | 4865 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
4864 | 4866 | ||
4865 | #define uncompress_trivial_usage \ | 4867 | #define uncompress_trivial_usage \ |
4866 | "[-c] [-f] [name...]" | 4868 | "[-c] [-f] [FILE...]" |
4867 | #define uncompress_full_usage "\n\n" \ | 4869 | #define uncompress_full_usage "\n\n" \ |
4868 | "Uncompress .Z file[s]\n" \ | 4870 | "Uncompress .Z file[s]\n" \ |
4869 | "\nOptions:" \ | 4871 | "\nOptions:" \ |
@@ -4871,7 +4873,7 @@ | |||
4871 | "\n -f Overwrite an existing file" \ | 4873 | "\n -f Overwrite an existing file" \ |
4872 | 4874 | ||
4873 | #define unexpand_trivial_usage \ | 4875 | #define unexpand_trivial_usage \ |
4874 | "[-f][-a][-t NUM] [FILE|-]" | 4876 | "[-f][-a][-t N] [FILE|-]" |
4875 | #define unexpand_full_usage "\n\n" \ | 4877 | #define unexpand_full_usage "\n\n" \ |
4876 | "Convert spaces to tabs, writing to standard output\n" \ | 4878 | "Convert spaces to tabs, writing to standard output\n" \ |
4877 | "\nOptions:" \ | 4879 | "\nOptions:" \ |
@@ -4936,7 +4938,7 @@ | |||
4936 | "[pauses for 1 second]\n" | 4938 | "[pauses for 1 second]\n" |
4937 | 4939 | ||
4938 | #define uudecode_trivial_usage \ | 4940 | #define uudecode_trivial_usage \ |
4939 | "[-o outfile] [infile]" | 4941 | "[-o OUTFILE] [INFILE]" |
4940 | #define uudecode_full_usage "\n\n" \ | 4942 | #define uudecode_full_usage "\n\n" \ |
4941 | "Uudecode a file\n" \ | 4943 | "Uudecode a file\n" \ |
4942 | "Finds outfile name in uuencoded source unless -o is given" | 4944 | "Finds outfile name in uuencoded source unless -o is given" |
@@ -4947,7 +4949,7 @@ | |||
4947 | "-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" | 4949 | "-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" |
4948 | 4950 | ||
4949 | #define uuencode_trivial_usage \ | 4951 | #define uuencode_trivial_usage \ |
4950 | "[-m] [infile] stored_filename" | 4952 | "[-m] [INFILE] STORED_FILENAME" |
4951 | #define uuencode_full_usage "\n\n" \ | 4953 | #define uuencode_full_usage "\n\n" \ |
4952 | "Uuencode a file to stdout\n" \ | 4954 | "Uuencode a file to stdout\n" \ |
4953 | "\nOptions:" \ | 4955 | "\nOptions:" \ |
@@ -4996,9 +4998,9 @@ | |||
4996 | "Show CD volume name of the DEVICE (default /dev/cdrom)" | 4998 | "Show CD volume name of the DEVICE (default /dev/cdrom)" |
4997 | 4999 | ||
4998 | #define wall_trivial_usage \ | 5000 | #define wall_trivial_usage \ |
4999 | "[file]" | 5001 | "[FILE]" |
5000 | #define wall_full_usage "\n\n" \ | 5002 | #define wall_full_usage "\n\n" \ |
5001 | "Write content of file or standard-input to all logged-in users" | 5003 | "Write content of FILE or standard-input to all logged-in users" |
5002 | #define wall_sample_usage \ | 5004 | #define wall_sample_usage \ |
5003 | "echo foo | wall\n" \ | 5005 | "echo foo | wall\n" \ |
5004 | "wall ./mymessage" | 5006 | "wall ./mymessage" |