summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPavel Roskin2000-07-17 23:45:12 +0000
committerPavel Roskin2000-07-17 23:45:12 +0000
commit9c5fcc3408626c46bc5187554e950b981143bb38 (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /editors
parentcc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff)
downloadbusybox-9c5fcc3408626c46bc5187554e950b981143bb38.zip
busybox-9c5fcc3408626c46bc5187554e950b981143bb38.tar.gz
New message added to messages.c: full_version
Used where possible
Diffstat (limited to 'editors')
-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':