Document the command-line module.
This commit is contained in:
parent
b0dc7d478e
commit
cb237f0137
2 changed files with 35 additions and 4 deletions
|
@ -27,10 +27,12 @@
|
|||
|
||||
(module
|
||||
command-line
|
||||
(command-line
|
||||
(
|
||||
command-line
|
||||
command-line:parse-command-line
|
||||
command-line:print-options
|
||||
command-line-tests!)
|
||||
command-line-tests!
|
||||
)
|
||||
|
||||
(import scheme
|
||||
(chicken base)
|
||||
|
@ -119,8 +121,6 @@
|
|||
;; Syntax for expanding various types of options.
|
||||
(define-syntax make-option
|
||||
(syntax-rules ()
|
||||
((_ opt help proc)
|
||||
(list (symbol->string 'opt) help proc))
|
||||
((_ opt (args ...) help body ...)
|
||||
(list (symbol->string 'opt)
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue