aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sed.c b/sed.c
index 195175e88..3973d212d 100644
--- a/sed.c
+++ b/sed.c
@@ -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 */
57extern int optind; /* in unistd.h */ 60extern 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':