Fix bug with extra tildes, spacing in usage
authorFrank Duncan <frank@kank.net>
Sat, 3 Jul 2021 12:05:44 +0000 (07:05 -0500)
committerFrank Duncan <frank@kank.net>
Sat, 3 Jul 2021 12:05:44 +0000 (07:05 -0500)
src/main/opera.lisp

index 0d70f9f0c5a6a793dcc8a855fac0cc2d20654bf8..b66a4c07cf1fecdafaab2eb3a7dfbd04e585317b 100644 (file)
@@ -87,7 +87,8 @@
    ((process-options (remaining-options &optional current-strings)
      (if (not remaining-options)
       (format nil
-       (format nil "~~A~~{~~,,~A~~A~~}" command-width)
+       ; Then 1+ is for the space after the command
+       (format nil "~~A~~{~~%~~,,~A@A~~}" (1+ command-width))
        (car (reverse current-strings))
        (cdr (reverse current-strings)))
       (let*