fix(sterni/mblog): check for help flags in flag, not arg list

Change-Id: I9f353f7c8f66078b51e333b6b8653f07f7ff544d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12816
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2024-11-21 00:05:22 +01:00 committed by clbot
parent 3398c2ab7f
commit 0c87789b31

View file

@ -58,7 +58,7 @@
(help-requested-p (find-if (lambda (x) (help-requested-p (find-if (lambda (x)
(member x '("-h" "--help" "--usage") (member x '("-h" "--help" "--usage")
:test #'string=)) :test #'string=))
args))) flags)))
(apply (apply
(if help-requested-p (if help-requested-p
#'display-help #'display-help