diff options
author | proski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-17 23:45:12 +0000 |
---|---|---|
committer | proski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-17 23:45:12 +0000 |
commit | 04578a450cbac6872d9c8360390d72491f4db9fa (patch) | |
tree | fef8c909479641fa6828a08efb988cf6f4ed9c8a /sed.c | |
parent | 9602aae15181429b0b99af5561c731932b6e57ed (diff) | |
download | busybox-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 'sed.c')
-rw-r--r-- | sed.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -52,6 +52,9 @@ | |||
52 | #include <ctype.h> /* for isspace() */ | 52 | #include <ctype.h> /* for isspace() */ |
53 | #include "internal.h" | 53 | #include "internal.h" |
54 | 54 | ||
55 | #define bb_need_full_version | ||
56 | #define BB_DECLARE_EXTERN | ||
57 | #include "messages.c" | ||
55 | 58 | ||
56 | /* externs */ | 59 | /* externs */ |
57 | extern int optind; /* in unistd.h */ | 60 | extern int optind; /* in unistd.h */ |
@@ -676,7 +679,7 @@ extern int sed_main(int argc, char **argv) | |||
676 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { | 679 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { |
677 | switch (opt) { | 680 | switch (opt) { |
678 | case 'V': | 681 | case 'V': |
679 | printf("BusyBox v%s (%s)\n", BB_VER, BB_BT); | 682 | printf("%s\n", full_version); |
680 | exit(0); | 683 | exit(0); |
681 | break; | 684 | break; |
682 | case 'h': | 685 | case 'h': |