aboutsummaryrefslogtreecommitdiff
path: root/sh.c
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 /sh.c
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 'sh.c')
-rw-r--r--sh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sh.c b/sh.c
index 1dfce9e77..c9ef39f49 100644
--- a/sh.c
+++ b/sh.c
@@ -46,6 +46,10 @@
46#include "cmdedit.h" 46#include "cmdedit.h"
47#endif 47#endif
48 48
49#define bb_need_full_version
50#define BB_DECLARE_EXTERN
51#include "messages.c"
52
49#define MAX_READ 128 /* size of input buffer for `read' builtin */ 53#define MAX_READ 128 /* size of input buffer for `read' builtin */
50#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n" 54#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
51 55
@@ -1141,7 +1145,7 @@ int shell_main(int argc, char **argv)
1141 //} 1145 //}
1142 1146
1143 if (argc < 2) { 1147 if (argc < 2) {
1144 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); 1148 fprintf(stdout, "\n\n%s Built-in shell\n", full_version);
1145 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); 1149 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n");
1146 } else { 1150 } else {
1147 if (argv[1][0]=='-' && argv[1][1]=='c') { 1151 if (argv[1][0]=='-' && argv[1][1]=='c') {