chiark / gitweb /
src/utilities.lisp (compose): Handle the case of zero arguments.
[sod] / src / optparse.lisp
index fff0e8888da95f6aae841c0fc6d42410fbcc57f1..5268cda728f33c69f7c8c7e65c7acbdeaaa059b0 100644 (file)
@@ -83,9 +83,9 @@ (defun set-command-line-arguments ()
                                      #+ecl (loop for i from 1
                                                  below (ext:argc)
                                                  collect (ext:argv i))))
-                              (error "Unsupported Lisp."))))))
+                              (error "Unsupported Lisp"))))))
 
-         *program-name* (pathname-name (car *command-line*))))
+       *program-name* (pathname-name (car *command-line*))))
 
 ;;;--------------------------------------------------------------------------
 ;;; Fancy conditionals.
@@ -207,7 +207,7 @@ (defstruct (option
                wrapped.  If nil, the option is omitted from the help
                text.
 
-   Usually, one won't use make-option, but use the option macro instead."
+   Usually, one won't use `make-option', but use the `option' macro instead."
   (long-name nil :type (or null string))
   (tag nil :type t)
   (negated-tag nil :type t)
@@ -896,11 +896,8 @@ (defmacro options (&rest optlist)
 ;;; Support stuff for help and usage messages.
 
 (defun print-text (string
-                  &optional
-                  (stream *standard-output*)
-                  &key
-                  (start 0)
-                  (end nil))
+                  &optional (stream *standard-output*)
+                  &key (start 0) (end nil))
   "Prints STRING to a pretty-printed STREAM, breaking it at whitespace and
    newlines in the obvious way.  Stuff between square brackets is not broken:
    this makes usage messages work better."