Including default values in results
Brought to you by:
arobinson74
When manually building a parser from a list of optiondefinitions (not using reflection) I found that default values were not returned in the dictionary after calling Parse. To change this I modified ParseHelper.cs to return all OptionDefinitions even if they were not in the _results. I then modified the parse function to initialize the result sets with OptionResults containing default values and found count of zero.
This also has a change I made to support single dashes with long argument names which can be ignored.
I have no idea if reflection defaults are used.
Modified GetOptions