diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-15 19:56:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-15 19:56:24 +0000 |
commit | c80191c1d9bb0abcd25876cbccc4c1cc26a2544d (patch) | |
tree | 665660c66472743931a3caa246d675f6dd52e2c5 /coreutils | |
parent | 11152e30e3d8091a76adf2bfe59754d93becf724 (diff) | |
download | busybox-c80191c1d9bb0abcd25876cbccc4c1cc26a2544d.tar.gz |
install: fix long option not taking params (bug 4584)
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/install.c | 6 |
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 |