Documenting options.

This commit is contained in:
Alex Shinn 2014-06-29 21:35:29 +09:00
parent fbcbe4dfad
commit 048acde7d7

View file

@ -54,31 +54,17 @@
(define conf-spec (define conf-spec
;; name type aliases doc ;; name type aliases doc
'((verbose? boolean (#\v "verbose") "...") '((verbose? boolean (#\v "verbose") "print additional informative messages")
(silent? boolean (#\s "silent") "...") (always-yes? boolean (#\y "always-yes") "answer all questions with yes")
(action? boolean ((not #\n) "action") "...") (config filename "path to configuration file")
(keep-files? boolean (#\k "keep-files") "...") (host string "base uri of snow repository")
(force-build? boolean (#\f "force-build") "...") (local-root-repository dirname "repository cache dir for root")
(always-yes? boolean (#\y "always-yes") "...") (local-user-repository dirname "repository cache dir for non-root users")
(test? boolean) (install-prefix string "prefix directory for installation")
(implementation string) (install-source-dir dirname "directory to install library source in")
(repository string) (library-extension string "the extension to use for library files")
(config filename) (installer symbol "name of installer to use")
(admin-dir dirname) (implementations (list symbol) "impls to install for, or 'all'")
(temp-dir dirname)
(install-dir dirname)
(host string)
(local-root-repository dirname)
(local-user-repository dirname)
(install-prefix string)
(install-source-dir dirname)
(install-library-dir dirname)
(install-binary-dir dirname)
(install-doc-dir dirname)
(install-meta-dir dirname)
(library-extension string)
(installer symbol)
(implementations (list symbol))
)) ))
(define (conf-default-path name) (define (conf-default-path name)