From: Denis Vlasenko Date: Fri, 15 Aug 2008 19:56:24 +0000 (-0000) Subject: install: fix long option not taking params (bug 4584) X-Git-Tag: 1_12_0~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c80191c1d9bb0abcd25876cbccc4c1cc26a2544d;p=oweals%2Fbusybox.git install: fix long option not taking params (bug 4584) --- 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