/* This is a NOEXEC applet. Be very careful! */
-#define OPT_STR ("Rh" IF_DESKTOP("vcfLHP"))
+#define OPT_STR "Rh" IF_DESKTOP("vcfLHP")
#define BIT_RECURSE 1
#define OPT_RECURSE (opt & 1)
#define OPT_NODEREF (opt & 2)
struct param_t param;
#if ENABLE_FEATURE_CHOWN_LONG_OPTIONS
- applet_long_options = chown_longopts;
+ opt = getopt32long(argv, "^" OPT_STR "\0" "-2", chown_longopts);
+#else
+ opt = getopt32(argv, "^" OPT_STR "\0" "-2");
#endif
- opt_complementary = "-2";
- opt = getopt32(argv, OPT_STR);
argv += optind;
/* This matches coreutils behavior (almost - see below) */