[Mono-dev] Program Option Parsing Library

Jay Logue jay-MonoDev at toaster.com
Thu Jan 10 14:57:53 EST 2008

Jay Logue wrote:

 > Finally, it looks like this code doesn't handle the case of option 
values separated by whitespace--e.g. "--foo 42".  I think a lot of 
people will miss this feature.

Wait.  I spoke too soon.  It looks like the code does support this.

So, what happens if I pass new string[] { "--foo", "--bar" } as 
arguments where --foo and --bar are declared as options and --foo takes 
a value?  And what does Getopt::Long do in this case?

-- Jay

More information about the Mono-devel-list mailing list