diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-12-20 07:30:35 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-12-20 07:30:35 +0000 |
commit | 8f3bc4ce52448a6d1c188055d6920e5bb05334b1 (patch) | |
tree | 03eac311cc3e5d298158998aca9211cc82eb41b6 /include | |
parent | a8d82fe52e4a114dcb152ebb2fe0382e10b32267 (diff) | |
download | busybox-w32-8f3bc4ce52448a6d1c188055d6920e5bb05334b1.tar.gz busybox-w32-8f3bc4ce52448a6d1c188055d6920e5bb05334b1.tar.bz2 busybox-w32-8f3bc4ce52448a6d1c188055d6920e5bb05334b1.zip |
New applet, rx, by Christopher Hoover
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
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 @@ | |||
502 | #ifdef CONFIG_RUN_PARTS | 502 | #ifdef CONFIG_RUN_PARTS |
503 | APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts) | 503 | APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts) |
504 | #endif | 504 | #endif |
505 | #ifdef CONFIG_RX | ||
506 | APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
507 | #endif | ||
505 | #ifdef CONFIG_SED | 508 | #ifdef CONFIG_SED |
506 | APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 509 | APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
507 | #endif | 510 | #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 @@ | |||
2067 | "\t-a ARG\tPass ARG as an argument for every program invoked.\n" \ | 2067 | "\t-a ARG\tPass ARG as an argument for every program invoked.\n" \ |
2068 | "\t-u MASK\tSet the umask to MASK before executing every program." | 2068 | "\t-u MASK\tSet the umask to MASK before executing every program." |
2069 | 2069 | ||
2070 | #define rx_trivial_usage \ | ||
2071 | "FILE" | ||
2072 | #define rx_full_usage \ | ||
2073 | "Receive a file using the xmodem protocol." | ||
2074 | #define rx_example_usage \ | ||
2075 | "$ rx /tmp/foo\n" | ||
2076 | |||
2070 | #define sed_trivial_usage \ | 2077 | #define sed_trivial_usage \ |
2071 | "[-nef] pattern [files...]" | 2078 | "[-nef] pattern [files...]" |
2072 | #define sed_full_usage \ | 2079 | #define sed_full_usage \ |