aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
committerRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
commitf99a280743e877c14ee90a3f9e93a34ca3476a27 (patch)
tree60ca3d17596e190c8c7cbca587168946598bee8a /libbb/appletlib.c
parent40d5dd07ea1f290eaed30a03fd598e33a8eaf495 (diff)
parent6ca8e347fed8c24655df692f22694baf7c572770 (diff)
downloadbusybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.gz
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.bz2
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 3ff2b5dc6..8efb1754a 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -134,16 +134,16 @@ void FAST_FUNC bb_show_usage(void)
134{ 134{
135 if (ENABLE_SHOW_USAGE) { 135 if (ENABLE_SHOW_USAGE) {
136#ifdef SINGLE_APPLET_STR 136#ifdef SINGLE_APPLET_STR
137 /* Imagine that this applet is "true". Dont suck in printf! */ 137 /* Imagine that this applet is "true". Dont link in printf! */
138 const char *usage_string = unpack_usage_messages(); 138 const char *usage_string = unpack_usage_messages();
139 139
140 if (usage_string) { 140 if (usage_string) {
141 if (*usage_string == '\b') { 141 if (*usage_string == '\b') {
142 full_write2_str("No help available.\n\n"); 142 full_write2_str("No help available\n");
143 } else { 143 } else {
144 full_write2_str("Usage: "SINGLE_APPLET_STR" "); 144 full_write2_str("Usage: "SINGLE_APPLET_STR" ");
145 full_write2_str(usage_string); 145 full_write2_str(usage_string);
146 full_write2_str("\n\n"); 146 full_write2_str("\n");
147 } 147 }
148 if (ENABLE_FEATURE_CLEAN_UP) 148 if (ENABLE_FEATURE_CLEAN_UP)
149 dealloc_usage_messages((char*)usage_string); 149 dealloc_usage_messages((char*)usage_string);
@@ -162,7 +162,7 @@ void FAST_FUNC bb_show_usage(void)
162 full_write2_str(bb_banner); 162 full_write2_str(bb_banner);
163 full_write2_str(" multi-call binary\n"); 163 full_write2_str(" multi-call binary\n");
164 if (*p == '\b') 164 if (*p == '\b')
165 full_write2_str("\nNo help available.\n\n"); 165 full_write2_str("\nNo help available\n");
166 else { 166 else {
167 full_write2_str("\nUsage: "); 167 full_write2_str("\nUsage: ");
168 full_write2_str(applet_name); 168 full_write2_str(applet_name);