Warning on reference DLL library

I have a console application done in Visual Studio 2008 Professional and .NET Framework 3.5. I have downloaded current package in this web, 1.9.71.2 stable. When I reference library from "\libcmd...

Id #17762 | Release: None | Updated: Apr 5 at 7:41 PM by rrodriguez1975 | Created: Apr 5 at 7:41 PM by rrodriguez1975

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 6:06 PM by lsheets | Created: Mar 15 at 6: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 10:41 PM by jimrushby | Created: Feb 9 at 10:41 PM by jimrushby

Exception thrown for multiple failed parsings in MSTest ordered test

I have a series of unit tests using CommandLine 1.9.71.2 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 3:55 PM by jdsleppy | Created: Jul 2, 2015 at 3: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 5:51 AM by aeriform | Created: Oct 30, 2014 at 1: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 1:50 PM by poretti | Created: Aug 22, 2014 at 2: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 8:45 PM by mbearden | Created: Mar 6, 2014 at 6: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 5:53 AM by aeriform | Created: Feb 24, 2014 at 9: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 9:19 AM by paoli | Created: Jan 24, 2014 at 9: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 5:53 AM by aeriform | Created: Jan 2, 2014 at 7:07 PM by telliott24