Problem with IgnoreUnknownArguments

I found a bug in the implementation of the parser classes for IgnoreUnknownArguments. If the unrecognized argument is a single bad command line argument followed by a good command line argument, t...

Id #17755 | Release: None | Updated: Mar 15 at 5:06 PM by lsheets | Created: Mar 15 at 5:06 PM by lsheets

DateTime parsing ignores current culture, uses MM.dd.yyyy format

DateTime parsing ignores the current culture and uses the MM.dd.yyyy format. Causes confusion with dates like 4/3/2017 Thanks!

Id #17747 | Release: None | Updated: Feb 9 at 9:41 PM by jimrushby | Created: Feb 9 at 9:41 PM by jimrushby

Exception thrown for multiple failed parsings in MSTest ordered test

I have a series of unit tests using CommandLine that pass when run 'simultaneously', but not in an ordered test (run in Visual Studio 2013 using MSTest). This exception is always thrown f...

Id #17468 | Release: None | Updated: Jul 2, 2015 at 2:55 PM by jdsleppy | Created: Jul 2, 2015 at 2:17 PM by jdsleppy

HelpText.Copyright property returns incorrect field.

Quite simple, really. The HelpText.Copyright property returns the heading field. See the following snippet. public string Copyright { get { return this.heading;...

Id #17090 | Release: None | Updated: Feb 8, 2016 at 4:51 AM by aeriform | Created: Oct 30, 2014 at 12:45 PM by AndrewKisliakov

TimeSpan type cannot be used as a option type

String type cannot be converted to TimeSpan by Convert.ChangeType(value, Property.PropertyType, _parsingCulture); For convert String to TimeSpan need use the TimeSpan.TryParse method.

Id #16958 | Release: None | Updated: Jan 7, 2015 at 12:50 PM by poretti | Created: Aug 22, 2014 at 1:35 PM by Roxioam

Presently a number ('1', '2', etc.) cannot be used as the option short-name

Please allow. :) Many thanks for this library.

Id #16745 | Release: None | Updated: Nov 18, 2015 at 7:45 PM by mbearden | Created: Mar 6, 2014 at 5:03 PM by BigDave

Bug in quotation marks handling

program.exe -s "-somedata" This will fail due to the hyphen following the quotation mark. The hyphen is somehow mistaken as being a part of the command line switches. Temporary fix is to put a sp...

Id #16726 | Release: None | Updated: Feb 8, 2016 at 4:53 AM by aeriform | Created: Feb 24, 2014 at 8:05 AM by espenrl

HelpText in non-console applications

When using the AutoBuild function in a non-console application (e.g. Windows Forms), the help text will be messed up like this: -f -b, --batch (Default: False) s...

Id #16676 | Release: None | Updated: Jan 24, 2014 at 8:19 AM by paoli | Created: Jan 24, 2014 at 8:19 AM by paoli

Extra args cause parsing to fail but don't show up in help text

If we pass args on the command line that aren't defined in the options class, parsing fails but the help text doesn't indicate what is wrong. For example: public class Options { public st...

Id #16630 | Release: None | Updated: Feb 8, 2016 at 4:53 AM by aeriform | Created: Jan 2, 2014 at 6:07 PM by telliott24

Parsing Enumeration

enumerations are case sensitiv, to fix the bug replace return Maybe.Just( MatchBoolString(value) ? ConvertBoolString(value) : conversionType.IsEnum ? Enum.Parse(con...

Id #16394 | Release: None | Updated: Sep 1, 2013 at 8:40 AM by n1ceweasel | Created: Sep 1, 2013 at 6:52 AM by n1ceweasel