aboutsummaryrefslogtreecommitdiff
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 38d75344f..f6a840024 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -293,6 +293,9 @@
#ifdef CONFIG_MD5SUM
APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_MESG
+ APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_MKDIR
APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 98b81cf1d..ee697150b 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1149,6 +1149,13 @@
"busybox: OK\n" \
"^D\n"
+#define mesg_trivial_usage \
+ "mesg [y|n]"
+#define mesg_full_usage \
+ "mesg [Y|N], controls write access to your terminal\n" \
+ "\ty\tAllow write access to your terminal.\n" \
+ "\tn\tDisallow write access to your terminal.\n"
+
#define mkdir_trivial_usage \
"[OPTION] DIRECTORY..."
#define mkdir_full_usage \