chown: fix a mistake in opt_complementary change
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
82d1c1f84a
commit
b013bec31b
@ -128,9 +128,9 @@ int chown_main(int argc UNUSED_PARAM, char **argv)
|
||||
struct param_t param;
|
||||
|
||||
#if ENABLE_FEATURE_CHOWN_LONG_OPTIONS
|
||||
opt = getopt32long(argv, "^" OPT_STR "\0" "=2", chown_longopts);
|
||||
opt = getopt32long(argv, "^" OPT_STR "\0" "-2", chown_longopts);
|
||||
#else
|
||||
opt = getopt32(argv, "^" OPT_STR "\0" "=2");
|
||||
opt = getopt32(argv, "^" OPT_STR "\0" "-2");
|
||||
#endif
|
||||
argv += optind;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user