summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 255bd6b..c303797 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -413,6 +413,9 @@
#ifdef BB_UUENCODE
APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN)
#endif
+#ifdef BB_VI
+ APPLET(vi, vi_main, _BB_DIR_BIN)
+#endif
#ifdef BB_WATCHDOG
APPLET(watchdog, watchdog_main, _BB_DIR_SBIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index aa7f0af..abd0156 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1689,6 +1689,13 @@
"$ uudecode busybox busybox > busybox.uu\n" \
"$\n"
+#define vi_trivial_usage \
+ "[OPTION] [FILE]..."
+#define vi_full_usage \
+ "edit FILE.\n\n" \
+ "Options:\n" \
+ "\t-R\tRead-only- do not write to the file."
+
#define watchdog_trivial_usage \
"DEV"
#define watchdog_full_usage \