The parser uses the "Microsoft" syntax of command line arguments.
YourApp.exe /install /n:MyService /u:"contoso\John Doe" /p:VerySecure /displayname:"My Service"
So every argument starts with an "/". Any value is concated per ":".
If no value is provided the DefaultValue is used. See Attributes for details.

If your option is a bool type, like install above, the default value is true if no attribute is given.

Last edited Jul 26, 2009 at 12:45 PM by twenzel, version 1


No comments yet.