diff options
author | Ron Yorston <rmy@pobox.com> | 2018-07-25 10:41:42 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-07-25 10:41:42 +0100 |
commit | 59873514f17cefd6ba3997dad5779f75433fd4e6 (patch) | |
tree | 1c9d0a3450ed95f0b820285b9f9fc217c902e652 /libbb/appletlib.c | |
parent | 779fd5745ac11bf752f5f4b977a274a39c192f90 (diff) | |
parent | 81de30de05beebabfa72f2a01ec4f33e9a1923e3 (diff) | |
download | busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.gz busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.bz2 busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.zip |
Merge branch 'busybox'
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index f250264d9..7df75c665 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -177,8 +177,11 @@ void FAST_FUNC bb_show_usage(void) | |||
177 | else { | 177 | else { |
178 | full_write2_str("\nUsage: "); | 178 | full_write2_str("\nUsage: "); |
179 | full_write2_str(applet_name); | 179 | full_write2_str(applet_name); |
180 | full_write2_str(" "); | 180 | if (p[0]) { |
181 | full_write2_str(p); | 181 | if (p[0] != '\n') |
182 | full_write2_str(" "); | ||
183 | full_write2_str(p); | ||
184 | } | ||
182 | full_write2_str("\n"); | 185 | full_write2_str("\n"); |
183 | } | 186 | } |
184 | if (ENABLE_FEATURE_CLEAN_UP) | 187 | if (ENABLE_FEATURE_CLEAN_UP) |
@@ -747,7 +750,7 @@ static void install_links(const char *busybox, int use_symbolic_links, | |||
747 | * busybox.h::bb_install_loc_t, or else... */ | 750 | * busybox.h::bb_install_loc_t, or else... */ |
748 | int (*lf)(const char *, const char *); | 751 | int (*lf)(const char *, const char *); |
749 | char *fpc; | 752 | char *fpc; |
750 | const char *appname = applet_names; | 753 | const char *appname = applet_names; |
751 | unsigned i; | 754 | unsigned i; |
752 | int rc; | 755 | int rc; |
753 | 756 | ||