I think you'll need to use parse-command-line, instead of command-line. -J

On Sun, Jan 17, 2016 at 7:51 AM, Pieter Breed <[email protected]>
wrote:

> Hi All,
>
> (I'm cross-posting this from StackOverflow)
> http://stackoverflow.com/q/34837318/24172
>
> I have this code:
>
> (define s1 "aoeu")
>
> (define command
>   (command-line
>    #:usage-help s1
>    #:args (op) op))
>
> It fails with "command-line: #:usage-help clause contains non-string."
>
> If I replace the reference to s1 with an actual string (eg "aoeu") then it
> works just fine. I would like to build up that string (s1 in this example)
> dynamically, but I can't figure out how to do that.
>
> P
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to