From c80191c1d9bb0abcd25876cbccc4c1cc26a2544d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 15 Aug 2008 19:56:24 +0000 Subject: install: fix long option not taking params (bug 4584) --- coreutils/install.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coreutils/install.c') diff --git a/coreutils/install.c b/coreutils/install.c index c7ddbb214..e99f1a3bd 100644 --- a/coreutils/install.c +++ b/coreutils/install.c @@ -17,9 +17,9 @@ static const char install_longopts[] ALIGN1 = "directory\0" No_argument "d" "preserve-timestamps\0" No_argument "p" "strip\0" No_argument "s" - "group\0" No_argument "g" - "mode\0" No_argument "m" - "owner\0" No_argument "o" + "group\0" Required_argument "g" + "mode\0" Required_argument "m" + "owner\0" Required_argument "o" /* autofs build insists of using -b --suffix=.orig */ /* TODO? (short option for --suffix is -S) */ #if ENABLE_SELINUX -- cgit v1.2.3