aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-07-29 10:59:21 +0100
committerRon Yorston <rmy@pobox.com>2017-07-29 11:04:44 +0100
commitcc684de7ba3470a0f0871634a34e8ebcba37b787 (patch)
treeb88d4ae590aba449fc28099b1e46090e6fc6f7d5 /libbb
parent806aee25f590d865c5190d5d050cd0b131197592 (diff)
downloadbusybox-w32-cc684de7ba3470a0f0871634a34e8ebcba37b787.tar.gz
busybox-w32-cc684de7ba3470a0f0871634a34e8ebcba37b787.tar.bz2
busybox-w32-cc684de7ba3470a0f0871634a34e8ebcba37b787.zip
libbb: avoid annoying blank line in help message
The abbreviated commit in the version string recently increased to 9 digits thus causing the first line of the help message to exceed 80 characters.
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index abd9e3243..3cdf0c613 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -166,7 +166,7 @@ void FAST_FUNC bb_show_usage(void)
166 ap--; 166 ap--;
167 } 167 }
168 full_write2_str(bb_banner); 168 full_write2_str(bb_banner);
169 full_write2_str(" multi-call binary.\n"); 169 full_write2_str(" multi-call binary\n");
170 if (*p == '\b') 170 if (*p == '\b')
171 full_write2_str("\nNo help available.\n\n"); 171 full_write2_str("\nNo help available.\n\n");
172 else { 172 else {
@@ -827,7 +827,7 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
827 827
828 dup2(1, 2); 828 dup2(1, 2);
829 full_write2_str(bb_banner); /* reuse const string */ 829 full_write2_str(bb_banner); /* reuse const string */
830 full_write2_str(" multi-call binary.\n"); /* reuse */ 830 full_write2_str(" multi-call binary\n"); /* reuse */
831#if defined(MINGW_VER) 831#if defined(MINGW_VER)
832 if (strlen(MINGW_VER)) { 832 if (strlen(MINGW_VER)) {
833 full_write2_str(MINGW_VER "\n\n"); 833 full_write2_str(MINGW_VER "\n\n");