aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/cli.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-18 15:38:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-18 15:38:02 -0400
commit7e5a1fa68dbdc2aa034d9e22648837ef63e57d5e (patch)
tree2b0a210de66f181d395b0330c30fbaa20bfc7e65 /src/stdlib/cli.h
parentf879157284ab9a13fb37cfdc18e7919248fb37fe (diff)
Fix '--' arg parsing
Diffstat (limited to 'src/stdlib/cli.h')
-rw-r--r--src/stdlib/cli.h2
1 files changed, 1 insertions, 1 deletions
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);