Added AutoHelp and AutoVersion properties to control adding of implicit 'help' and 'version' options/verbs by Athari · Pull Request #256 · commandlineparser/commandline

@moh-hassan
Looks like I've messed up something. I did have problems propagating options, but instead of introducing heavier changes just added two more arguments here and there. But the main reason for me missing the bugs is likely correctly identified by @x789:

#256 describes the possibility to automatically add a 'help' and 'version' verb/option to the parser. This works as far as only the parser is considered. I think when #256 was integrated, it was not considered that there will also be applications without 'help' and 'version' (see #294, #414 and #455).

What others have commented on the #461 is correct: I'd expect AutoHelp=false and AutoVersion=false to allow both providing own commands and not providing any (see comment above).

Anyway, what's the current status? Wasn't #461 closed?

P.S. Frankly, I consider this library a lost cause, mostly because the original developer went crazy with the pseudo-functional style and made a mess of both the public API (tons of callbacks) and the implementation ("maybe" and other reinvented wheels with very poor implementations), while completely ignoring good old code smells like methods with tons of arguments, and I doubt anybody is going to spend time refactoring the whole codebase and making massive backwards compatbility breaking changes to public API yet again, even if it's allowed by the current maintainers.