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/tomo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tomo.c') diff --git a/src/tomo.c b/src/tomo.c index 5d8c7372..4552f401 100644 --- a/src/tomo.c +++ b/src/tomo.c @@ -220,6 +220,7 @@ int main(int argc, char *argv[]) { Text_t help = Texts(Text("\x1b[1mtomo\x1b[m: a compiler for the Tomo programming language"), Text("\n\n"), usage); tomo_parse_args(argc, argv, usage, help, TOMO_VERSION, // {"run", 'r', false, List$info(&Path$info), &run_files}, // + {"args", '\0', false, List$info(&Text$info), &args}, // {"format", 'F', false, List$info(&Path$info), &format_files}, // {"format-inplace", '\0', false, List$info(&Path$info), &format_files_inplace}, // {"transpile", 't', false, List$info(&Path$info), &transpile_files}, // @@ -237,7 +238,6 @@ int main(int argc, char *argv[]) { {"force-rebuild", 'f', false, &Bool$info, &clean_build}, // {"source-mapping", 'm', false, &Bool$info, &source_mapping}, {"changelog", '\0', false, &Bool$info, &show_changelog}, // - {"args", '\0', false, List$info(&Text$info), &args}, // ); if (show_prefix) { -- cgit v1.2.3