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:
parent
3398c2ab7f
commit
0c87789b31
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue