optparse.lisp: Fix spurious indentation after the usage message.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:19:34 +0000 (22:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:19:34 +0000 (22:19 +0100)
optparse.lisp

index 159ee60..8ccbaa7 100644 (file)
     (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'