X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/lisp/blobdiff_plain/ba92c444e2ce6a72616cdbe3017a0d6d3e0b8d4f..HEAD:/optparse.lisp diff --git a/optparse.lisp b/optparse.lisp index 159ee60..8ccbaa7 100644 --- a/optparse.lisp +++ b/optparse.lisp @@ -862,8 +862,8 @@ (defun show-usage (prog usage &optional (stream *standard-output*)) (dolist (u (listify usage)) (pprint-logical-block (stream nil :prefix (concatenate 'string prog " ")) - (format stream "~{~A ~:_~}" (listify u))) - (pprint-newline :mandatory stream)))) + (format stream "~{~A~^ ~:_~}" (listify u))))) + (terpri stream)) (defun show-options-help (opts &optional (stream *standard-output*)) "Write help for OPTS to the STREAM. This is the core of the `show-help'