From 9ea8836357d0f2b53319cb54c032d307cf2533be Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 14 May 2005 00:46:18 +0000 Subject: 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? --- include/usage.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index f1ae92316..d63498553 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]" -- cgit v1.2.3