Argument.Switch with multiple arguments documented wrong?

9 views
Skip to first unread message

Steven Bethard

unread,
Feb 22, 2009, 6:47:28 PM2/22/09
to ResearchAssistant
I was looking at the Argument.Switch documentation:

http://www.stanford.edu/~dramage/ra/doc/edu/stanford/cs/ra/arguments/Argument.Switch.html

And it gives as example usage::

Argument.Switch("--switch,-s")

Is that really supposed to work? It doesn't seem to for me - neither
of the switches seems to be recognized on the command line. I was able
to get it to work using an array initializer, e.g.::

Argument.Switch({"--switch", "-s"})
Reply all
Reply to author
Forward
0 new messages