Ok. So you're using command-line in the body of the first case, and 
the-mandatory-argument takes the first word. Thanks to #:argv others, 
command-line can process the remaining ones. `./manage -h` would essentually 
give `racket -h` while `./manage anything -h` would give you help from 
command-line. I see how this opens a rabit hole of interesting possibilities. 
Maybe, too, case-lambda could be used with #:args -- let command-line deal with 
optional flags and keep the end user from running into accidental `racket` flag 
interactions, and then deal with positional arguments with the case-lambda (or 
maybe match?).

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to