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 8a20758f9..1119a9ea6 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -502,6 +502,9 @@
#ifdef CONFIG_RUN_PARTS
APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts)
#endif
+#ifdef CONFIG_RX
+ APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_SED
APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index d712ffe5f..bd78a5381 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2067,6 +2067,13 @@
"\t-a ARG\tPass ARG as an argument for every program invoked.\n" \
"\t-u MASK\tSet the umask to MASK before executing every program."
+#define rx_trivial_usage \
+ "FILE"
+#define rx_full_usage \
+ "Receive a file using the xmodem protocol."
+#define rx_example_usage \
+ "$ rx /tmp/foo\n"
+
#define sed_trivial_usage \
"[-nef] pattern [files...]"
#define sed_full_usage \