summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley2005-05-14 00:46:18 +0000
committerRob Landley2005-05-14 00:46:18 +0000
commit9ea8836357d0f2b53319cb54c032d307cf2533be (patch)
treeb19c1725047103ee4c6ca0fc8eba9d946edfa2e9 /include
parent1ece21bddd6780aef82dafa481187bda43174a72 (diff)
downloadbusybox-9ea8836357d0f2b53319cb54c032d307cf2533be.zip
busybox-9ea8836357d0f2b53319cb54c032d307cf2533be.tar.gz
Add automatic umount support to eject command. Patch from Tito,
with tweaks from Mike Frysinger and Rob Landley. Note: this will still fail to umount a path that contains an ' or \ character. Is it worth the extra size to filter for that?
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/usage.h b/include/usage.h
index f1ae923..d634985 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -565,18 +565,12 @@
"$ 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" \
- "\t-t" USAGE_EJECT_TRAYCLOSE "\tclose tray"
+ "\t-t\tclose tray"
#define env_trivial_usage \
"[-iu] [-] [name=value]... [command]"