summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorPavel Roskin2000-07-17 23:45:12 +0000
committerPavel Roskin2000-07-17 23:45:12 +0000
commit9c5fcc3408626c46bc5187554e950b981143bb38 (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /shell
parentcc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff)
downloadbusybox-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.c6
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') {