aboutsummaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
committerPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
commit9c5fcc3408626c46bc5187554e950b981143bb38 (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /busybox.c
parentcc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff)
downloadbusybox-9c5fcc3408626c46bc5187554e950b981143bb38.tar.gz
New message added to messages.c: full_version
Used where possible
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/busybox.c b/busybox.c
index 041cdeb01..a88761aa2 100644
--- a/busybox.c
+++ b/busybox.c
@@ -4,6 +4,10 @@
#include <string.h>
#include <errno.h>
+#define bb_need_full_version
+#define BB_DECLARE_EXTERN
+#include "messages.c"
+
static int been_there_done_that = 0;
/* It has been alledged that doing such things can
@@ -504,14 +508,14 @@ int busybox_main(int argc, char **argv)
if (been_there_done_that == 1 || argc < 1) {
const struct BB_applet *a = applets;
- fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n"
+ fprintf(stderr, "%s\n\n"
"Usage: busybox [function] [arguments]...\n"
" or: [function] [arguments]...\n\n"
"\tBusyBox is a multi-call binary that combines many common Unix\n"
"\tutilities into a single executable. Most people will create a\n"
"\tlink to busybox for each function they wish to use, and BusyBox\n"
"\twill act like whatever it was invoked as.\n"
- "\nCurrently defined functions:\n", BB_VER, BB_BT);
+ "\nCurrently defined functions:\n", full_version);
while (a->name != 0) {
col +=