summaryrefslogtreecommitdiffhomepage
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h13
1 files changed, 13 insertions, 0 deletions
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 @@
"$ echo \"Erik\\nis\\ncool\"\n" \
"Erik\\nis\\ncool\n")
+#ifdef CONFIG_FEATURE_EJECT_LONG_OPTIONS
+# define USAGE_EJECT_TRAYCLOSE ",trayclose"
+#else
+# define USAGE_EJECT_TRAYCLOSE ""
+#endif
+
+#define eject_trivial_usage \
+ "[-t] [DEVICE]"
+#define eject_full_usage \
+ "Eject specified DEVICE (or default /dev/cdrom).\n\n" \
+ "Options:\n" \
+ "\tt" USAGE_EJECT_TRAYCLOSE "\tclose tray"
+
#define env_trivial_usage \
"[-iu] [-] [name=value]... [command]"
#define env_full_usage \