aboutsummaryrefslogtreecommitdiff
path: root/src/compile/cli.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-07 19:02:13 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-07 19:02:13 -0500
commit09942b27ae6fd7e7d394b2d251ef77c8a6f69e07 (patch)
tree49440d4bf059874b7f84462f9dfa96d7de9edfc7 /src/compile/cli.c
parent85d1507d8b7e0139135e040b7b4b23c02097a155 (diff)
Rename `Empty()` -> `Present()` for set-like tables
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 5130b97b..63a467ca 100644
--- a/src/compile/cli.c
+++ b/src/compile/cli.c
@@ -38,7 +38,7 @@ static Text_t get_flag_options(type_t *t, Text_t separator) {
} else if (t->tag == ListType) {
Text_t item_option = get_flag_options(Match(t, ListType)->item_type, separator);
return Texts(item_option, "1 ", item_option, "2...");
- } else if (t->tag == TableType && Match(t, TableType)->value_type == EMPTY_TYPE) {
+ } else if (t->tag == TableType && Match(t, TableType)->value_type == PRESENT_TYPE) {
Text_t item_option = get_flag_options(Match(t, TableType)->key_type, separator);
return Texts(item_option, "1 ", item_option, "2...");
} else if (t->tag == TableType) {