summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/getopts.tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/getopts.tl b/stdlib/getopts.tl
index fcfa8ea8..aa6ba4ab 100644
--- a/stdlib/getopts.tl
+++ b/stdlib/getopts.tl
@@ -73,12 +73,14 @@
(defmeth opt-desc list-type-p (me type)
(tree-case type
((indicator btype) (and (eq indicator 'list)
+ (neq btype :bool)
me.(basic-type-p btype)))
(x nil)))
(defmeth opt-desc cumul-type-p (me type)
(tree-case type
((indicator btype) (and (eq indicator 'usr:cumul)
+ (neq btype :bool)
(or me.(basic-type-p btype)
me.(list-type-p btype))))
(x nil)))