summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-09-30 21:44:08 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-09-30 21:44:08 (GMT)
commitee5ab8f321f7060c5720b50b1834f273e00f5859 (patch)
tree6c889d431437f1cabd9b56aab79d4f4b18df8b49
parent6e852408a9ded4b5c6e5db001419d94471d2aad5 (diff)
downloadbusybox-ee5ab8f321f7060c5720b50b1834f273e00f5859.tar.gz
busybox-ee5ab8f321f7060c5720b50b1834f273e00f5859.tar.bz2
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 9227746..c26ed8b 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -1521,13 +1521,31 @@ INSERT
#define halt_full_usage "\n\n" \
"Halt the system\n" \
"\nOptions:" \
- "\n -d Delay interval for halting" \
- "\n -n No call to sync()" \
- "\n -f Force halt (don't go through init)" \
+ "\n -d SEC Delay interval" \
+ "\n -n Do not sync" \
+ "\n -f Force (don't go through init)" \
IF_FEATURE_WTMP( \
"\n -w Only write a wtmp record" \
)
+#define poweroff_trivial_usage \
+ "[-d DELAY] [-n] [-f]"
+#define poweroff_full_usage "\n\n" \
+ "Halt and shut off power\n" \
+ "\nOptions:" \
+ "\n -d SEC Delay interval" \
+ "\n -n Do not sync" \
+ "\n -f Force (don't go through init)" \
+
+#define reboot_trivial_usage \
+ "[-d DELAY] [-n] [-f]"
+#define reboot_full_usage "\n\n" \
+ "Reboot the system\n" \
+ "\nOptions:" \
+ "\n -d SEC Delay interval" \
+ "\n -n Do not sync" \
+ "\n -f Force (don't go through init)" \
+
#define hdparm_trivial_usage \
"[OPTIONS] [DEVICE]"
#define hdparm_full_usage "\n\n" \
@@ -3222,15 +3240,6 @@ INSERT
"$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \
"$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n"
-#define poweroff_trivial_usage \
- "[-d DELAY] [-n] [-f]"
-#define poweroff_full_usage "\n\n" \
- "Halt and shut off power\n" \
- "\nOptions:" \
- "\n -d Delay interval for halting" \
- "\n -n Do not sync" \
- "\n -f Force power off (don't go through init)" \
-
#define printenv_trivial_usage \
"[VARIABLE]..."
#define printenv_full_usage "\n\n" \
@@ -3373,15 +3382,6 @@ INSERT
#define realpath_full_usage "\n\n" \
"Return the absolute pathnames of given FILE"
-#define reboot_trivial_usage \
- "[-d DELAY] [-n] [-f]"
-#define reboot_full_usage "\n\n" \
- "Reboot the system\n" \
- "\nOptions:" \
- "\n -d Delay interval for rebooting" \
- "\n -n No call to sync()" \
- "\n -f Force reboot (don't go through init)" \
-
#define reformime_trivial_usage \
"[OPTIONS] [FILE]..."
#define reformime_full_usage "\n\n" \