diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 00:25:47 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 00:25:47 +0000 |
commit | 92285b9e71a77a02e3b1eb81dc00c5db0faf07ea (patch) | |
tree | 861e274991d9290735776b7f38b6b18861da1598 /include | |
parent | ecb5d65cdf94dcecefa7dfe93da62c07ef0e7613 (diff) | |
download | busybox-w32-92285b9e71a77a02e3b1eb81dc00c5db0faf07ea.tar.gz busybox-w32-92285b9e71a77a02e3b1eb81dc00c5db0faf07ea.tar.bz2 busybox-w32-92285b9e71a77a02e3b1eb81dc00c5db0faf07ea.zip |
import eject by Peter Willis / Tito Ragusa
git-svn-id: svn://busybox.net/trunk/busybox@10288 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 7f6f75864..3f411c269 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -182,6 +182,9 @@ | |||
182 | #if defined(CONFIG_FEATURE_GREP_EGREP_ALIAS) | 182 | #if defined(CONFIG_FEATURE_GREP_EGREP_ALIAS) |
183 | APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 183 | APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
184 | #endif | 184 | #endif |
185 | #ifdef CONFIG_EJECT | ||
186 | APPLET(eject, eject_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
187 | #endif | ||
185 | #ifdef CONFIG_ENV | 188 | #ifdef CONFIG_ENV |
186 | APPLET(env, env_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 189 | APPLET(env, env_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
187 | #endif | 190 | #endif |
diff --git a/include/usage.h b/include/usage.h index 1ef79df61..316772ea2 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -556,6 +556,19 @@ | |||
556 | "$ echo \"Erik\\nis\\ncool\"\n" \ | 556 | "$ echo \"Erik\\nis\\ncool\"\n" \ |
557 | "Erik\\nis\\ncool\n") | 557 | "Erik\\nis\\ncool\n") |
558 | 558 | ||
559 | #ifdef CONFIG_FEATURE_EJECT_LONG_OPTIONS | ||
560 | # define USAGE_EJECT_TRAYCLOSE ",trayclose" | ||
561 | #else | ||
562 | # define USAGE_EJECT_TRAYCLOSE "" | ||
563 | #endif | ||
564 | |||
565 | #define eject_trivial_usage \ | ||
566 | "[-t] [DEVICE]" | ||
567 | #define eject_full_usage \ | ||
568 | "Eject specified DEVICE (or default /dev/cdrom).\n\n" \ | ||
569 | "Options:\n" \ | ||
570 | "\tt" USAGE_EJECT_TRAYCLOSE "\tclose tray" | ||
571 | |||
559 | #define env_trivial_usage \ | 572 | #define env_trivial_usage \ |
560 | "[-iu] [-] [name=value]... [command]" | 573 | "[-iu] [-] [name=value]... [command]" |
561 | #define env_full_usage \ | 574 | #define env_full_usage \ |