aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-12-20 07:30:35 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-12-20 07:30:35 +0000
commit8f3bc4ce52448a6d1c188055d6920e5bb05334b1 (patch)
tree03eac311cc3e5d298158998aca9211cc82eb41b6 /include
parenta8d82fe52e4a114dcb152ebb2fe0382e10b32267 (diff)
downloadbusybox-8f3bc4ce52448a6d1c188055d6920e5bb05334b1.tar.gz
New applet, rx, by Christopher Hoover
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 \