parse-options: move NODASH sanity checks to parse_options_check
[gitweb.git] / parse-options.h
index d982f0f1bf181f00f54861eb768504007490e95d..5eb499b9923224825c330292f3ac281a4b6fa675 100644 (file)
@@ -180,7 +180,7 @@ struct parse_opt_ctx_t {
 
 extern void parse_options_start(struct parse_opt_ctx_t *ctx,
                                int argc, const char **argv, const char *prefix,
-                               int flags);
+                               const struct option *options, int flags);
 
 extern int parse_options_step(struct parse_opt_ctx_t *ctx,
                              const struct option *options,