aboutsummaryrefslogtreecommitdiff
path: root/src/compile/cli.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-02-19 23:58:49 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-02-19 23:58:49 -0500
commitb780cff8e43bb9834ecd44f33ae8d33bb8528d82 (patch)
tree69067a393b73a29e2e811f782872c48532e987af /src/compile/cli.c
parentfde2d5876236c9048ee1112be90c8af41c910149 (diff)
Code cleanup
Diffstat (limited to 'src/compile/cli.c')
-rw-r--r--src/compile/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/cli.c b/src/compile/cli.c
index ade6caa7..64abe2e7 100644
--- a/src/compile/cli.c
+++ b/src/compile/cli.c
@@ -13,7 +13,7 @@
static Text_t get_flag_options(type_t *t, Text_t separator) {
if (t->tag == BoolType) {
return Text("yes|no");
- } else if (t == PATH_TYPE) {
+ } else if (t->tag == PathType) {
return Text("path");
} else if (t->tag == EnumType) {
Text_t options = EMPTY_TEXT;