]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/private.h
opt: add new parse_early_args_incomplete.
[ccan] / ccan / opt / private.h
index 47b8c4e056eead80956103965c1324033da9b05a..0621c82eb6bcc693c3d2b6fcee0d30e25f720bf8 100644 (file)
@@ -22,6 +22,6 @@ struct opt_alloc {
 extern struct opt_alloc opt_alloc;
 
 int parse_one(int *argc, char *argv[], enum opt_type is_early, unsigned *offset,
 extern struct opt_alloc opt_alloc;
 
 int parse_one(int *argc, char *argv[], enum opt_type is_early, unsigned *offset,
-             void (*errlog)(const char *fmt, ...));
+             void (*errlog)(const char *fmt, ...), bool unknown_ok);
 
 #endif /* CCAN_OPT_PRIVATE_H */
 
 #endif /* CCAN_OPT_PRIVATE_H */