aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-09-30 23:44:08 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-09-30 23:44:08 +0200
commitee5ab8f321f7060c5720b50b1834f273e00f5859 (patch)
tree6c889d431437f1cabd9b56aab79d4f4b18df8b49
parent6e852408a9ded4b5c6e5db001419d94471d2aad5 (diff)
downloadbusybox-w32-ee5ab8f321f7060c5720b50b1834f273e00f5859.tar.gz
busybox-w32-ee5ab8f321f7060c5720b50b1834f273e00f5859.tar.bz2
busybox-w32-ee5ab8f321f7060c5720b50b1834f273e00f5859.zip
halt/poweroff/reboot: unify help text
function old new delta packed_usage 27755 27733 -22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/usage.src.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index 922774674..c26ed8b12 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -1521,13 +1521,31 @@ INSERT
1521#define halt_full_usage "\n\n" \ 1521#define halt_full_usage "\n\n" \
1522 "Halt the system\n" \ 1522 "Halt the system\n" \
1523 "\nOptions:" \ 1523 "\nOptions:" \
1524 "\n -d Delay interval for halting" \ 1524 "\n -d SEC Delay interval" \
1525 "\n -n No call to sync()" \ 1525 "\n -n Do not sync" \
1526 "\n -f Force halt (don't go through init)" \ 1526 "\n -f Force (don't go through init)" \
1527 IF_FEATURE_WTMP( \ 1527 IF_FEATURE_WTMP( \
1528 "\n -w Only write a wtmp record" \ 1528 "\n -w Only write a wtmp record" \
1529 ) 1529 )
1530 1530
1531#define poweroff_trivial_usage \
1532 "[-d DELAY] [-n] [-f]"
1533#define poweroff_full_usage "\n\n" \
1534 "Halt and shut off power\n" \
1535 "\nOptions:" \
1536 "\n -d SEC Delay interval" \
1537 "\n -n Do not sync" \
1538 "\n -f Force (don't go through init)" \
1539
1540#define reboot_trivial_usage \
1541 "[-d DELAY] [-n] [-f]"
1542#define reboot_full_usage "\n\n" \
1543 "Reboot the system\n" \
1544 "\nOptions:" \
1545 "\n -d SEC Delay interval" \
1546 "\n -n Do not sync" \
1547 "\n -f Force (don't go through init)" \
1548
1531#define hdparm_trivial_usage \ 1549#define hdparm_trivial_usage \
1532 "[OPTIONS] [DEVICE]" 1550 "[OPTIONS] [DEVICE]"
1533#define hdparm_full_usage "\n\n" \ 1551#define hdparm_full_usage "\n\n" \
@@ -3222,15 +3240,6 @@ INSERT
3222 "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ 3240 "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \
3223 "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" 3241 "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n"
3224 3242
3225#define poweroff_trivial_usage \
3226 "[-d DELAY] [-n] [-f]"
3227#define poweroff_full_usage "\n\n" \
3228 "Halt and shut off power\n" \
3229 "\nOptions:" \
3230 "\n -d Delay interval for halting" \
3231 "\n -n Do not sync" \
3232 "\n -f Force power off (don't go through init)" \
3233
3234#define printenv_trivial_usage \ 3243#define printenv_trivial_usage \
3235 "[VARIABLE]..." 3244 "[VARIABLE]..."
3236#define printenv_full_usage "\n\n" \ 3245#define printenv_full_usage "\n\n" \
@@ -3373,15 +3382,6 @@ INSERT
3373#define realpath_full_usage "\n\n" \ 3382#define realpath_full_usage "\n\n" \
3374 "Return the absolute pathnames of given FILE" 3383 "Return the absolute pathnames of given FILE"
3375 3384
3376#define reboot_trivial_usage \
3377 "[-d DELAY] [-n] [-f]"
3378#define reboot_full_usage "\n\n" \
3379 "Reboot the system\n" \
3380 "\nOptions:" \
3381 "\n -d Delay interval for rebooting" \
3382 "\n -n No call to sync()" \
3383 "\n -f Force reboot (don't go through init)" \
3384
3385#define reformime_trivial_usage \ 3385#define reformime_trivial_usage \
3386 "[OPTIONS] [FILE]..." 3386 "[OPTIONS] [FILE]..."
3387#define reformime_full_usage "\n\n" \ 3387#define reformime_full_usage "\n\n" \