changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > core / lisp/lib/cli/clap/macs.lisp

revision 643: f901de70a80e
parent 573: f8b76ced5e2d
child 655: 65102f74d1ae
     1.1--- a/lisp/lib/cli/clap/macs.lisp	Sun Sep 08 21:14:30 2024 -0400
     1.2+++ b/lisp/lib/cli/clap/macs.lisp	Tue Sep 10 21:26:30 2024 -0400
     1.3@@ -78,5 +78,7 @@
     1.4       `(defun ,fn-name (&optional arg)
     1.5          "Parse the cli-opt-val *ARG*."
     1.6          (declare (ignorable arg))
     1.7-         ,@(when fn1 `((setf *arg* (funcall #',fn1 arg))))
     1.8+         ,@(if fn1
     1.9+               `((setf *arg* (print (funcall #',fn1 arg))))
    1.10+               `((setf *arg* arg)))
    1.11          ,@body)))))