trim help text a bit

This commit is contained in:
Denis Vlasenko 2008-11-24 13:42:24 +00:00
parent a9acbe6cad
commit 4240408b70
2 changed files with 3 additions and 3 deletions

View File

@ -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]"

View File

@ -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");
} }