Daniel Aarno
ff6803207d
Initialize theDelimiter (supress warning), found by test23.
2012-08-15 23:54:14 +02:00
Daniel Aarno
1a0b049d0e
Make "visit" method pure virtual (needs to be implemented by subclass
...
to make sense).
2012-08-15 23:53:19 +02:00
Mike Smoot
2fee9bc48e
reverted changes?
2011-05-22 12:41:48 -07:00
Mike Smoot
fdce4f38f0
Allows xor args to be optional
2011-05-22 12:05:21 -07:00
Mike Smoot
a5105dc72a
added patch to fix brief output with TCLAP_NAMESTRING defined
2011-05-22 11:50:16 -07:00
mes5k
122b50e26d
patch that allows arg start strings to be pound defined to easily conform to different platforms
2011-04-11 00:08:41 +00:00
mes5k
89f4aacf98
fixed shadow variable name problem
2011-04-09 18:30:32 +00:00
mes5k
cbc24a3b58
fixed minor memory leak
2011-04-09 18:05:35 +00:00
macbishop
e2eb7b522e
Updated documentation for ArgTraits to reference StringLike and ValueLike classes.
2011-01-15 17:45:17 +00:00
mes5k
fc9d87a003
finally fixed bug relating to mutually exclusive combined switched
2011-01-03 00:20:46 +00:00
mes5k
4ba45abdb9
minor reformat
2011-01-02 23:12:56 +00:00
mes5k
82d187771b
minor reformatting
2011-01-02 23:10:18 +00:00
mes5k
09c1d2a113
applied Tom Fogal's win64 patch for size_t
2011-01-02 19:52:54 +00:00
mes5k
e9dfb0394b
fixed all effective c++ warnings based on patch from Andrew Marlow
2011-01-02 18:50:47 +00:00
mes5k
b8b1bb2467
make error message a bit more meaningful
2009-10-25 03:49:00 +00:00
mes5k
ab82cc7f87
added a check for wchar_t to deal with a potential problem with MS compilers
2009-10-23 21:42:43 +00:00
mes5k
6db71e94af
updated incorrect api docs again
2009-07-15 15:09:44 +00:00
mes5k
b9340c617d
updated incorrect api doc
2009-07-15 15:04:39 +00:00
mes5k
65376234b2
added support for resetting a command line
2009-01-10 00:05:57 +00:00
mes5k
352a838666
added support for parsing hex and octal ints as well as small fix to support gcc 4.4
2008-11-07 20:04:18 +00:00
zeekec
a15700d36d
Rethrow ExitExceptions if we're not handling exceptions.
2008-08-19 22:18:47 +00:00
zeekec
8769a07cee
Silence some compiler warnings. The const on return-by-value is ignored.
2008-08-19 21:52:32 +00:00
zeekec
3431fcfd78
Allow internal handling of parse errors to be turned off.
...
This allows exceptions for parse errors to be propagated to the caller. Exiting
the program in parse is a bad idea generally, as we have no way of knowing what
cleanup needs to be done in the main program.
2008-07-21 17:20:57 +00:00
mes5k
9a32ab6294
bug in while loop
2008-06-17 16:48:10 +00:00
mes5k
20d8d8b531
added length checks to strings that can otherwise break with Metroworks compilers
2008-05-23 22:15:45 +00:00
mes5k
3568b89480
added a new include to support exit in environments where it isnt defined
2008-05-13 19:04:40 +00:00
mes5k
cad795c4b8
tweaked tests to support dashes in arg names
2008-05-06 06:02:02 +00:00
mes5k
e8a8b330e3
allowed dash char in arg names
2008-05-06 05:28:12 +00:00
zeekec
b70cb7e1c8
Added Traits files to the list of files to be installed.
2008-01-18 23:05:57 +00:00
macbishop
e021e21520
Refactoring of the arg-traits functionality. The purpose is to make it
...
easier to make you own classes, and types defined in the standard
library work well with tclap. I'll try to write up some documenation
of how to achieve this as-well.
2007-10-09 18:18:51 +00:00
mes5k
1edfa65f88
a bug fix for parsing vectors of strings and making sure that combined switches dont get confused
2007-10-02 06:27:42 +00:00
mes5k
f2f8b8d2bc
added inline
2007-09-27 20:49:42 +00:00
mes5k
891ad51730
fixed the delimiter in Arg::longID and Arg::shortID
2007-09-13 02:09:48 +00:00
macbishop
b4787eb4bd
Suppress some warnings, compile with -Wextra by default
2007-09-01 08:17:24 +00:00
macbishop
00f07eb977
Use ArgTraits instead of ValueExtractor specialization Bug 1711487
2007-06-14 21:02:01 +00:00
macbishop
847b8c9478
Run CmdLine::parse with argv as pointer to const pointer to const char
2007-05-02 20:11:18 +00:00
mes5k
37c112ddab
changed the blankChar to the bell character instead of *
2007-04-21 05:28:42 +00:00
mes5k
3e70af604d
added patches for ZSH and DocBook output
2007-03-04 19:28:57 +00:00
mes5k
df1f8e9938
added a new parse method that accepts a vector
2007-03-04 19:08:17 +00:00
macbishop
a5161226b8
Supressed some warnings
2007-02-17 14:59:52 +00:00
macbishop
e0a835388b
Catch ExitException and exit. This allows all resources used during
...
parsing to be released, bug 1662188.
2007-02-17 14:59:30 +00:00
macbishop
0953ea9976
raise ExitException instead of calling exit
2007-02-17 14:57:53 +00:00
macbishop
ce79a6fa1c
Added exit-exception class
2007-02-17 14:54:00 +00:00
mes5k
05244fae62
minor change to support a bug in VisualC++ 2005
2007-02-08 02:12:56 +00:00
mes5k
6b2cb3ab1d
moved exit from CmdLine to StdOutput to provide users more control over when/how the exit happens
2006-11-26 18:32:04 +00:00
mes5k
54db78bd97
printing more useful message when missing required args and catching ArgException reference
2006-11-04 22:05:32 +00:00
mes5k
db4133a981
made a fix for a bug where - chars were within unlabeled value args
2006-10-06 16:49:15 +00:00
mes5k
ccf8ea17f1
minor tweak to a min function signature
2006-08-22 06:13:56 +00:00
mes5k
1a066c1d42
removed a deprecated constructor
2006-05-15 00:36:36 +00:00
mes5k
6652bf6577
SwitchArg interface change
2006-05-14 19:51:06 +00:00