[Mono-list] C# GetOpt

John Barnette jbarn@httcb.net
Mon, 31 Dec 2001 00:50:33 -0700


I noticed while I was working on some doc stuff that we don't seem to have a
GetOpt for C#.  I've taken an initial stab at one that supports:

	- @response (for including args from a file)
      - short (-x) and long (--foo) options
      - stackable short (-xov) options
	- multiple args to an option (--pos 12 34)
	- an arglist specifier (x(2) == option 'x' takes two args)

Do you think that this should go in the Mono CVS?  If so, what assembly?

If this is a useful thing to dump somewhere in Mono I'll put it in CVS and
send out an example (probably an alteration of the mcs argument parsing


~ j.