On Mon, 2010-10-04 at 19:47 -0700, Charlie Poole wrote:
> 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?
The user can disable option processing by specifying "--" in the command
line. Everything after "--" will not be processed by Mono.Options, so
you can do:
program.exe /abc -- /xxxx
Where a, b, and c are options and /xxxx is the path you wanted.
-Gonzalo
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list