summaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 195175e..3973d21 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -52,6 +52,9 @@
#include <ctype.h> /* for isspace() */
#include "internal.h"
+#define bb_need_full_version
+#define BB_DECLARE_EXTERN
+#include "messages.c"
/* externs */
extern int optind; /* in unistd.h */
@@ -676,7 +679,7 @@ extern int sed_main(int argc, char **argv)
while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) {
switch (opt) {
case 'V':
- printf("BusyBox v%s (%s)\n", BB_VER, BB_BT);
+ printf("%s\n", full_version);
exit(0);
break;
case 'h':