getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST
[oweals/busybox.git] / coreutils / uniq.c
index e0133998a51b8db015b76466aa8385caf635e610..ec7bde41890048485e71a2d8f7895393832f1e68 100644 (file)
@@ -50,8 +50,7 @@ int uniq_main(int argc UNUSED_PARAM, char **argv)
        skip_fields = skip_chars = 0;
        max_chars = INT_MAX;
 
-       opt_complementary = "f+:s+:w+";
-       opt = getopt32(argv, "cduf:s:w:", &skip_fields, &skip_chars, &max_chars);
+       opt = getopt32(argv, "cduf:+s:+w:+", &skip_fields, &skip_chars, &max_chars);
        argv += optind;
 
        input_filename = argv[0];