diff options
Diffstat (limited to 'lash.c')
-rw-r--r-- | lash.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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') { |