From 7e5a1fa68dbdc2aa034d9e22648837ef63e57d5e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 18 Oct 2025 15:38:02 -0400 Subject: Fix '--' arg parsing --- src/stdlib/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/cli.h') diff --git a/src/stdlib/cli.h b/src/stdlib/cli.h index 8f9e2a9c..596409c1 100644 --- a/src/stdlib/cli.h +++ b/src/stdlib/cli.h @@ -22,4 +22,4 @@ void _tomo_parse_args(int argc, char *argv[], Text_t usage, Text_t help, const c (cli_arg_t[]){__VA_ARGS__}) bool pop_cli_flag(List_t *args, char short_flag, const char *flag, void *dest, const TypeInfo_t *type); -bool pop_cli_positional(List_t *args, const char *flag, void *dest, const TypeInfo_t *type); +bool pop_cli_positional(List_t *args, const char *flag, void *dest, const TypeInfo_t *type, bool allow_dashes); -- cgit v1.2.3