(module svnwiki2html-cmd ()
(import scheme)
(cond-expand
((or chicken-5 chicken-6)
(import (chicken base)
(chicken format)
(chicken pathname)
(chicken process-context))
(import svnwiki2html))
(else
(error "Unsupported CHICKEN version.")))
(define svnwiki2html-version "0.0.3")
(define (usage #!optional exit-code)
(let* ((port (if (and exit-code (not (zero? exit-code)))
(current-error-port)
(current-output-port)))
(prog (pathname-strip-directory (program-name)))
(msg #<#EOF
#prog
This program converts input in svnwiki format to HTML. The HTML
data is printed to the standard output.
are:
--css
URI to the CSS file to be linked from the HTML page. If not
provided, the default one used by the CHICKEN wiki will be used.
--menu