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 /shell | |
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 'shell')
-rw-r--r-- | shell/lash.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c index 1dfce9e..c9ef39f 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -46,6 +46,10 @@ #include "cmdedit.h" #endif +#define bb_need_full_version +#define BB_DECLARE_EXTERN +#include "messages.c" + #define MAX_READ 128 /* size of input buffer for `read' builtin */ #define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n" @@ -1141,7 +1145,7 @@ int shell_main(int argc, char **argv) //} if (argc < 2) { - fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); + fprintf(stdout, "\n\n%s Built-in shell\n", full_version); fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); } else { if (argv[1][0]=='-' && argv[1][1]=='c') { |