trim help text a bit
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 24 Nov 2008 13:42:24 +0000 (13:42 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 24 Nov 2008 13:42:24 +0000 (13:42 -0000)
include/usage.h
libbb/appletlib.c

index 3c657a15eeddd3b21b78f99d825af4f4385d386f..d35f8ae718e7de7c453426bdb829b8d3be129c63 100644 (file)
        "[-t SECS] [-s SIG] PROG [ARGS]"
 #define timeout_full_usage "\n\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 \
        "[-b] [-nCOUNT] [-dSECONDS]"
index 2bab0eba61914610f2270945f2575979fa64f800..13cdb819f7aa3dd508a7d10d2a4fa2c25eb933cc 100644 (file)
@@ -111,9 +111,9 @@ void FAST_FUNC bb_show_usage(void)
                const char *usage_string = p = unpack_usage_messages();
 
                if (*p == '\b') {
-                       full_write2_str("\nNo help available.\n\n");
+                       full_write2_str("No help available.\n\n");
                } else {
-                       full_write2_str("\nUsage: "SINGLE_APPLET_STR" ");
+                       full_write2_str("Usage: "SINGLE_APPLET_STR" ");
                        full_write2_str(p);
                        full_write2_str("\n\n");
                }