commandline icon indicating copy to clipboard operation
commandline copied to clipboard

built-in "version"

Open fleed opened this issue 8 years ago • 1 comments

I'm using version 2.1.1-beta.

I'm trying to use the built-in verb version to display the information, but it's not working. It works if I use the --version switch. Am I missing something?

var parser = new Parser(settings => settings.HelpWriter = Console.Out);
var parserResult = parser.ParseArguments(args);

Is there documentation to use built-in verbs?

fleed avatar Mar 31 '17 03:03 fleed

I don't believe there are any built in verbs anymore with the new MapResult style. I'm not sure version was ever built in in 1.9.x either. Do the flags not work well for you?

nemec avatar Apr 03 '17 18:04 nemec