Document the command-line module.

This commit is contained in:
Dominik Pantůček 2023-03-20 22:07:06 +01:00
parent b0dc7d478e
commit cb237f0137
2 changed files with 35 additions and 4 deletions

View file

@ -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