diff options
author | Pavel Roskin | 2000-07-17 23:45:12 +0000 |
---|---|---|
committer | Pavel Roskin | 2000-07-17 23:45:12 +0000 |
commit | 9c5fcc3408626c46bc5187554e950b981143bb38 (patch) | |
tree | fef8c909479641fa6828a08efb988cf6f4ed9c8a /applets/busybox.c | |
parent | cc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff) | |
download | busybox-9c5fcc3408626c46bc5187554e950b981143bb38.zip busybox-9c5fcc3408626c46bc5187554e950b981143bb38.tar.gz |
New message added to messages.c: full_version
Used where possible
Diffstat (limited to 'applets/busybox.c')
-rw-r--r-- | applets/busybox.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 041cdeb..a88761a 100644 --- a/applets/busybox.c +++ b/applets/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 += |