]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/private.h
opt: add new parse_early_args_incomplete.
[ccan] / ccan / opt / private.h
index 8d7815c86b8a90da32c87807f0424b17291d42ae..0621c82eb6bcc693c3d2b6fcee0d30e25f720bf8 100644 (file)
@@ -1,4 +1,4 @@
-/* Licensed under GPLv3+ - see LICENSE file for details */
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_OPT_PRIVATE_H
 #define CCAN_OPT_PRIVATE_H
 
@@ -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,
-             void (*errlog)(const char *fmt, ...));
+             void (*errlog)(const char *fmt, ...), bool unknown_ok);
 
 #endif /* CCAN_OPT_PRIVATE_H */