Windows: more pthreads functions
[gitweb.git] / builtin-grep.c
index d05107dd9f5e32be1d4d817171bf3e5845316204..40b9a93127482bebf6dc8c9eb39b2104711a543a 100644 (file)
@@ -811,7 +811,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
                        "print NUL after filenames"),
                OPT_BOOLEAN('c', "count", &opt.count,
                        "show the number of matches instead of matching lines"),
-               OPT_SET_INT(0, "color", &opt.color, "highlight matches", 1),
+               OPT__COLOR(&opt.color, "highlight matches"),
                OPT_GROUP(""),
                OPT_CALLBACK('C', NULL, &opt, "n",
                        "show <n> context lines before and after matches",