[Mono-list] Command Line Options on Windows and Linux

Charlie Poole charlie at nunit.com
Mon Oct 4 22:47:32 EDT 2010


Hi All,

I'm using Mono.Options for nunit-console 3.0 and I'm running into
a bit of a conflict of philosophy about chars that start options.

NUnit has historically NOT recognized args starting with '/' as
options on Linux, although it does allow them on Windows.

Mono.Options recognizes '/' as starting an option in all environments.

Each approach causes different problems. The Mono.Options
approach seems to make it impossible to use any path that starts
/xxxx, where xxxx is the name of a program option.

Am I missing something here?

Of course, I can change how it works, but my question is more
along the lines of how it should work.

Charlie


More information about the Mono-list mailing list