install: fix long option not taking params (bug 4584)
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 15 Aug 2008 19:56:24 +0000 (19:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 15 Aug 2008 19:56:24 +0000 (19:56 -0000)
coreutils/install.c

index c7ddbb214d902a4a1f4f5cfc45fd6d4055e1f72a..e99f1a3bd63702b34b5da4c17f1219622cb77b46 100644 (file)
@@ -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