aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/applets/applets.c b/applets/applets.c
index f34124252..cff792fb7 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -467,11 +467,11 @@ void bb_show_usage(void)
467 i--; 467 i--;
468 } 468 }
469 469
470 format_string = "%s\n\nUsage: %s %s\n\n"; 470 fprintf(stderr, "%s multi-call binary\n", bb_banner);
471 format_string = "\nUsage: %s %s\n\n";
471 if (*p == '\b') 472 if (*p == '\b')
472 format_string = "%s\n\nNo help available.\n\n"; 473 format_string = "\nNo help available.\n\n";
473 fprintf(stderr, format_string, bb_msg_full_version, 474 fprintf(stderr, format_string, applet_name, p);
474 applet_name, p);
475 dealloc_usage_messages((char*)usage_string); 475 dealloc_usage_messages((char*)usage_string);
476 } 476 }
477 xfunc_die(); 477 xfunc_die();
@@ -550,8 +550,8 @@ static int busybox_main(char **argv)
550 /* leading tab and room to wrap */ 550 /* leading tab and room to wrap */
551 output_width -= sizeof("start-stop-daemon, ") + 8; 551 output_width -= sizeof("start-stop-daemon, ") + 8;
552 552
553 printf("%s\n" 553 printf("%s multi-call binary\n", bb_banner); /* reuse const string... */
554 "Copyright (C) 1998-2006  Erik Andersen, Rob Landley, and others.\n" 554 printf("Copyright (C) 1998-2006  Erik Andersen, Rob Landley, and others.\n"
555 "Licensed under GPLv2.  See source distribution for full notice.\n" 555 "Licensed under GPLv2.  See source distribution for full notice.\n"
556 "\n" 556 "\n"
557 "Usage: busybox [function] [arguments]...\n" 557 "Usage: busybox [function] [arguments]...\n"
@@ -561,7 +561,7 @@ static int busybox_main(char **argv)
561 "\tutilities into a single executable. Most people will create a\n" 561 "\tutilities into a single executable. Most people will create a\n"
562 "\tlink to busybox for each function they wish to use and BusyBox\n" 562 "\tlink to busybox for each function they wish to use and BusyBox\n"
563 "\twill act like whatever it was invoked as!\n" 563 "\twill act like whatever it was invoked as!\n"
564 "\nCurrently defined functions:\n", bb_msg_full_version); 564 "\nCurrently defined functions:\n");
565 col = 0; 565 col = 0;
566 a = applets; 566 a = applets;
567 while (a->name) { 567 while (a->name) {