hash-object: replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP
[gitweb.git] / builtin / check-ignore.c
index 4a8fc707c747596e31dcc6f57abf5f965cdf612f..c9f0c9bd6ad59384f01edf1d58b21bbbc5e501dc 100644 (file)
@@ -18,12 +18,12 @@ static const struct option check_ignore_options[] = {
        OPT__QUIET(&quiet, N_("suppress progress reporting")),
        OPT__VERBOSE(&verbose, N_("be verbose")),
        OPT_GROUP(""),
-       OPT_BOOLEAN(0, "stdin", &stdin_paths,
-                   N_("read file names from stdin")),
-       OPT_BOOLEAN('z', NULL, &null_term_line,
-                   N_("input paths are terminated by a null character")),
-       OPT_BOOLEAN('n', "non-matching", &show_non_matching,
-                   N_("show non-matching input paths")),
+       OPT_BOOL(0, "stdin", &stdin_paths,
+                N_("read file names from stdin")),
+       OPT_BOOL('z', NULL, &null_term_line,
+                N_("input paths are terminated by a null character")),
+       OPT_BOOL('n', "non-matching", &show_non_matching,
+                N_("show non-matching input paths")),
        OPT_END()
 };