aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-17 23:45:12 +0000
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-17 23:45:12 +0000
commit04578a450cbac6872d9c8360390d72491f4db9fa (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /applets
parent9602aae15181429b0b99af5561c731932b6e57ed (diff)
downloadbusybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.tar.gz
busybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.tar.bz2
busybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.zip
New message added to messages.c: full_version
Used where possible git-svn-id: svn://busybox.net/trunk/busybox@871 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 041cdeb01..a88761aa2 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -4,6 +4,10 @@
4#include <string.h> 4#include <string.h>
5#include <errno.h> 5#include <errno.h>
6 6
7#define bb_need_full_version
8#define BB_DECLARE_EXTERN
9#include "messages.c"
10
7static int been_there_done_that = 0; 11static int been_there_done_that = 0;
8 12
9/* It has been alledged that doing such things can 13/* It has been alledged that doing such things can
@@ -504,14 +508,14 @@ int busybox_main(int argc, char **argv)
504 if (been_there_done_that == 1 || argc < 1) { 508 if (been_there_done_that == 1 || argc < 1) {
505 const struct BB_applet *a = applets; 509 const struct BB_applet *a = applets;
506 510
507 fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n" 511 fprintf(stderr, "%s\n\n"
508 "Usage: busybox [function] [arguments]...\n" 512 "Usage: busybox [function] [arguments]...\n"
509 " or: [function] [arguments]...\n\n" 513 " or: [function] [arguments]...\n\n"
510 "\tBusyBox is a multi-call binary that combines many common Unix\n" 514 "\tBusyBox is a multi-call binary that combines many common Unix\n"
511 "\tutilities into a single executable. Most people will create a\n" 515 "\tutilities into a single executable. Most people will create a\n"
512 "\tlink to busybox for each function they wish to use, and BusyBox\n" 516 "\tlink to busybox for each function they wish to use, and BusyBox\n"
513 "\twill act like whatever it was invoked as.\n" 517 "\twill act like whatever it was invoked as.\n"
514 "\nCurrently defined functions:\n", BB_VER, BB_BT); 518 "\nCurrently defined functions:\n", full_version);
515 519
516 while (a->name != 0) { 520 while (a->name != 0) {
517 col += 521 col +=