summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-10-31 10:24:36 +0000
committerEric Andersen2001-10-31 10:24:36 +0000
commit6cf47a79acfef8dbe4e651560f59200978b656b1 (patch)
tree3ae009b33f74d131da1747d558ab357511136f7d /include
parent2bc4dec7a15998fa37c03005a9612c7f22df4f7a (diff)
downloadbusybox-6cf47a79acfef8dbe4e651560f59200978b656b1.zip
busybox-6cf47a79acfef8dbe4e651560f59200978b656b1.tar.gz
Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h10
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index effbb52..b0536ac 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -365,6 +365,9 @@
#ifdef CONFIG_RPM2CPIO
APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN)
#endif
+#ifdef CONFIG_RUN_PARTS
+ APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, run_parts)
+#endif
#ifdef CONFIG_SED
APPLET(sed, sed_main, _BB_DIR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index 1de2966..bbed44d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -660,6 +660,7 @@
"\t-s\t\tShort\n" \
"\t-i\t\tAddresses for the hostname\n" \
"\t-d\t\tDNS domain name\n" \
+ "\t-f\t\tFully qualified domain name\n" \
"\t-F, --file FILE\tUse the contents of FILE to specify the hostname"
#define hostname_example_usage \
"$ hostname\n" \
@@ -1382,6 +1383,15 @@
#define rpm2cpio_full_usage \
"Outputs a cpio archive of the rpm file."
+#define run_parts_trivial_usage \
+ "[-t] [-a ARG] [-u MASK] DIRECTORY"
+#define run_parts_full_usage \
+ "Run a bunch of scripts in a directory.\n\n" \
+ "Options:\n" \
+ "\t-t\t\tTest only what file will be executed, without execute them.\n" \
+ "\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 sed_trivial_usage \
"[-nef] pattern [files...]"
#define sed_full_usage \