(require mzlib/cmdline) |
NOTE: This library is deprecated. Use racket/cmdline instead.
Provides a command-line from that is similar to the one in racket/cmdline, but without using keywords. The parse-command-line procedure from racket/cmdline is re-exported directly.
syntax
(command-line program-name-expr argv-expr clause ...)
clause = (multi flag-spec ...) | (once-each flag-spec ...) | (once-any flag-spec ...) | (final flag-spec ...) | (help-labels string ...) | (args arg-formals body-expr ...+) |
(=> finish-proc-expr arg-help-expr help-proc-expr unknown-proc-expr) flag-spec = (flags id ... help-str ...+ body-expr ...+) | (flags => handler-expr help-expr) flags = flag-string | (flag-string ...+) arg-formals = id | (id ...) | (id ...+ . id)
Like command-line from racket/cmdline, but without
keywords in the syntax.