summaryrefslogtreecommitdiff
path: root/tools/gen_arg_table.py
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-23 20:39:20 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-23 20:39:20 +0100
commit693533526c0a9063d83ee9e31c39310345725b33 (patch)
tree22f8efdeb8bd1d054ce70c5c9e2950a6302be1a5 /tools/gen_arg_table.py
parent37e83e44791ed0a8ad74aa0c1cd45db2df708ab4 (diff)
gen_arg_table: Actually skip flags that are on per default
kotlin compiler warns about this flag and even the generator warning says that is should be omitted.
Diffstat (limited to 'tools/gen_arg_table.py')
-rw-r--r--tools/gen_arg_table.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gen_arg_table.py b/tools/gen_arg_table.py
index d074ead..4bfe4dc 100644
--- a/tools/gen_arg_table.py
+++ b/tools/gen_arg_table.py
@@ -138,6 +138,7 @@ def render(records, notes):
notes.append(("warn", f"{flag} ({field}): boolean default is "
f"true - a false value cannot be "
f"spelled on the CLI, token omitted"))
+ continue
entries.append(dict(kind="bool", flag=flag,
stmt=f'if ({g}) cmd.add("{flag}");',
note=dep_note))