Revert "t/lib-git-daemon: record daemon log"
[gitweb.git] / t / helper / test-parse-options.c
index f0623bb42bb1917a481c676316fe609779f84323..47fee660b86a6e6977735e2c940de79d4330d519 100644 (file)
@@ -36,6 +36,7 @@ static int length_callback(const struct option *opt, const char *arg, int unset)
 
 static int number_callback(const struct option *opt, const char *arg, int unset)
 {
+       BUG_ON_OPT_NEG(unset);
        *(int *)opt->value = strtol(arg, NULL, 10);
        return 0;
 }