aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-08-15 19:56:24 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-08-15 19:56:24 +0000
commitc80191c1d9bb0abcd25876cbccc4c1cc26a2544d (patch)
tree665660c66472743931a3caa246d675f6dd52e2c5 /coreutils/install.c
parent11152e30e3d8091a76adf2bfe59754d93becf724 (diff)
downloadbusybox-c80191c1d9bb0abcd25876cbccc4c1cc26a2544d.tar.gz
busybox-c80191c1d9bb0abcd25876cbccc4c1cc26a2544d.tar.bz2
install: fix long option not taking params (bug 4584)
Diffstat (limited to 'coreutils/install.c')
-rw-r--r--coreutils/install.c6
1 files changed, 3 insertions, 3 deletions
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