mirror of
https://github.com/sheumann/hush.git
synced 2024-12-24 12:29:47 +00:00
halt/poweroff/reboot: unify help text
function old new delta packed_usage 27755 27733 -22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
6e852408a9
commit
ee5ab8f321
@ -1521,13 +1521,31 @@ INSERT
|
|||||||
#define halt_full_usage "\n\n" \
|
#define halt_full_usage "\n\n" \
|
||||||
"Halt the system\n" \
|
"Halt the system\n" \
|
||||||
"\nOptions:" \
|
"\nOptions:" \
|
||||||
"\n -d Delay interval for halting" \
|
"\n -d SEC Delay interval" \
|
||||||
"\n -n No call to sync()" \
|
"\n -n Do not sync" \
|
||||||
"\n -f Force halt (don't go through init)" \
|
"\n -f Force (don't go through init)" \
|
||||||
IF_FEATURE_WTMP( \
|
IF_FEATURE_WTMP( \
|
||||||
"\n -w Only write a wtmp record" \
|
"\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 \
|
#define hdparm_trivial_usage \
|
||||||
"[OPTIONS] [DEVICE]"
|
"[OPTIONS] [DEVICE]"
|
||||||
#define hdparm_full_usage "\n\n" \
|
#define hdparm_full_usage "\n\n" \
|
||||||
@ -3222,15 +3240,6 @@ INSERT
|
|||||||
"$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \
|
"$ 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"
|
"$ 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 \
|
#define printenv_trivial_usage \
|
||||||
"[VARIABLE]..."
|
"[VARIABLE]..."
|
||||||
#define printenv_full_usage "\n\n" \
|
#define printenv_full_usage "\n\n" \
|
||||||
@ -3373,15 +3382,6 @@ INSERT
|
|||||||
#define realpath_full_usage "\n\n" \
|
#define realpath_full_usage "\n\n" \
|
||||||
"Return the absolute pathnames of given FILE"
|
"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 \
|
#define reformime_trivial_usage \
|
||||||
"[OPTIONS] [FILE]..."
|
"[OPTIONS] [FILE]..."
|
||||||
#define reformime_full_usage "\n\n" \
|
#define reformime_full_usage "\n\n" \
|
||||||
|
Loading…
Reference in New Issue
Block a user