How to enforce required command-line options with NDesk.Options?
The problem is that documentation isn’t as clear as it apparently needs to be. 🙁 Specifically, as per: http://www.ndesk.org/doc/ndesk-options/NDesk.Options/OptionValueType.html#F:NDesk.Options.OptionValueType.Required The = within an option specification doesn’t apply to the OptionSet as a whole, but just to the value for that specific option. The importance of this is really only relevant in two scenarios, so first … Read more