mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
trim help text a bit
This commit is contained in:
parent
a9acbe6cad
commit
4240408b70
@ -4325,7 +4325,7 @@
|
|||||||
"[-t SECS] [-s SIG] PROG [ARGS]"
|
"[-t SECS] [-s SIG] PROG [ARGS]"
|
||||||
#define timeout_full_usage "\n\n" \
|
#define timeout_full_usage "\n\n" \
|
||||||
"Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \
|
"Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \
|
||||||
"Defaults: SECS: 10, SIG: TERM.\n" \
|
"Defaults: SECS: 10, SIG: TERM." \
|
||||||
|
|
||||||
#define top_trivial_usage \
|
#define top_trivial_usage \
|
||||||
"[-b] [-nCOUNT] [-dSECONDS]"
|
"[-b] [-nCOUNT] [-dSECONDS]"
|
||||||
|
@ -111,9 +111,9 @@ void FAST_FUNC bb_show_usage(void)
|
|||||||
const char *usage_string = p = unpack_usage_messages();
|
const char *usage_string = p = unpack_usage_messages();
|
||||||
|
|
||||||
if (*p == '\b') {
|
if (*p == '\b') {
|
||||||
full_write2_str("\nNo help available.\n\n");
|
full_write2_str("No help available.\n\n");
|
||||||
} else {
|
} else {
|
||||||
full_write2_str("\nUsage: "SINGLE_APPLET_STR" ");
|
full_write2_str("Usage: "SINGLE_APPLET_STR" ");
|
||||||
full_write2_str(p);
|
full_write2_str(p);
|
||||||
full_write2_str("\n\n");
|
full_write2_str("\n\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user