claenups for previous commit
[oweals/busybox.git] / coreutils / chmod.c
index 2174334d190626c0525c2e98963c0650bf7f44d6..88989bf674b6530c338069b587ff846fa28ea4a8 100644 (file)
@@ -123,8 +123,7 @@ int chmod_main(int argc UNUSED_PARAM, char **argv)
        }
 
        /* Parse options */
-       opt_complementary = "-2";
-       getopt32(argv, ("-"OPT_STR) + 1); /* Reuse string */
+       getopt32(argv, "^" OPT_STR "\0" "-2");
        argv += optind;
 
        /* Restore option-like mode if needed */