aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 effbb5233..b0536ac01 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 1de29666e..bbed44d0c 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 \