summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-03-25 21:50:18 +0000
committerBernhard Reutner-Fischer2007-03-25 21:50:18 +0000
commit10f8f5f4433a88b9cf9048d38a45838aa6e2abf6 (patch)
tree70eb52b176ebc5bf9067caec93181891f8c1d4b6 /include
parent55f30b05ac6902ac17bad04f38fd4f381a8d75f7 (diff)
downloadbusybox-10f8f5f4433a88b9cf9048d38a45838aa6e2abf6.zip
busybox-10f8f5f4433a88b9cf9048d38a45838aa6e2abf6.tar.gz
- rough prototype for split(1). TODO: Still needs some love since it's way too big..
text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 3f5bf9b..77258be 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -274,6 +274,7 @@ USE_SHA1SUM(APPLET_ODDNAME(sha1sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVE
USE_SLEEP(APPLET(sleep, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, softlimit))
USE_SORT(APPLET(sort, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+USE_SPLIT(APPLET(split, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_START_STOP_DAEMON(APPLET_ODDNAME(start-stop-daemon, start_stop_daemon, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon))
USE_STAT(APPLET(stat, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_STRINGS(APPLET(strings, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 7adc1fc..4843f5f 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2952,6 +2952,12 @@
) \
""
+#define split_trivial_usage \
+ "[OPTION] [INPUT [PREFIX]]"
+#define split_full_usage \
+ "Options:" \
+ "\n -blah XXX: Fixme: usage.h"
+
#define start_stop_daemon_trivial_usage \
"[OPTIONS] [--start|--stop] ... [-- arguments...]"
#define start_stop_daemon_full_usage \