chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9cfb3e
)
optparse.lisp: Fix spurious indentation after the usage message.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:19:34 +0000
(22:19 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:19:34 +0000
(22:19 +0100)
optparse.lisp
patch
|
blob
|
blame
|
history
diff --git
a/optparse.lisp
b/optparse.lisp
index 159ee602778b84345cc4070f8f0046c1e526875a..8ccbaa7f2dd61f616569b7be7fd79be48c44477e 100644
(file)
--- 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'