diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-10-31 10:24:36 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-10-31 10:24:36 +0000 |
| commit | 6cf47a79acfef8dbe4e651560f59200978b656b1 (patch) | |
| tree | 3ae009b33f74d131da1747d558ab357511136f7d /include | |
| parent | 2bc4dec7a15998fa37c03005a9612c7f22df4f7a (diff) | |
| download | busybox-w32-6cf47a79acfef8dbe4e651560f59200978b656b1.tar.gz busybox-w32-6cf47a79acfef8dbe4e651560f59200978b656b1.tar.bz2 busybox-w32-6cf47a79acfef8dbe4e651560f59200978b656b1.zip | |
Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 10 |
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 @@ | |||
| 365 | #ifdef CONFIG_RPM2CPIO | 365 | #ifdef CONFIG_RPM2CPIO |
| 366 | APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN) | 366 | APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN) |
| 367 | #endif | 367 | #endif |
| 368 | #ifdef CONFIG_RUN_PARTS | ||
| 369 | APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, run_parts) | ||
| 370 | #endif | ||
| 368 | #ifdef CONFIG_SED | 371 | #ifdef CONFIG_SED |
| 369 | APPLET(sed, sed_main, _BB_DIR_BIN) | 372 | APPLET(sed, sed_main, _BB_DIR_BIN) |
| 370 | #endif | 373 | #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 @@ | |||
| 660 | "\t-s\t\tShort\n" \ | 660 | "\t-s\t\tShort\n" \ |
| 661 | "\t-i\t\tAddresses for the hostname\n" \ | 661 | "\t-i\t\tAddresses for the hostname\n" \ |
| 662 | "\t-d\t\tDNS domain name\n" \ | 662 | "\t-d\t\tDNS domain name\n" \ |
| 663 | "\t-f\t\tFully qualified domain name\n" \ | ||
| 663 | "\t-F, --file FILE\tUse the contents of FILE to specify the hostname" | 664 | "\t-F, --file FILE\tUse the contents of FILE to specify the hostname" |
| 664 | #define hostname_example_usage \ | 665 | #define hostname_example_usage \ |
| 665 | "$ hostname\n" \ | 666 | "$ hostname\n" \ |
| @@ -1382,6 +1383,15 @@ | |||
| 1382 | #define rpm2cpio_full_usage \ | 1383 | #define rpm2cpio_full_usage \ |
| 1383 | "Outputs a cpio archive of the rpm file." | 1384 | "Outputs a cpio archive of the rpm file." |
| 1384 | 1385 | ||
| 1386 | #define run_parts_trivial_usage \ | ||
| 1387 | "[-t] [-a ARG] [-u MASK] DIRECTORY" | ||
| 1388 | #define run_parts_full_usage \ | ||
| 1389 | "Run a bunch of scripts in a directory.\n\n" \ | ||
| 1390 | "Options:\n" \ | ||
| 1391 | "\t-t\t\tTest only what file will be executed, without execute them.\n" \ | ||
| 1392 | "\t-a ARG\tPass ARG as an argument for every program invoked.\n" \ | ||
| 1393 | "\t-u MASK\tSet the umask to MASK before executing every program." | ||
| 1394 | |||
| 1385 | #define sed_trivial_usage \ | 1395 | #define sed_trivial_usage \ |
| 1386 | "[-nef] pattern [files...]" | 1396 | "[-nef] pattern [files...]" |
| 1387 | #define sed_full_usage \ | 1397 | #define sed_full_usage \ |
