Henry Fredrick Schreiner
66fedad044
Adding check for Windows definition order match from #187
2019-01-11 13:23:28 +01:00
Henry Schreiner
f932b51374
Touchupwin ( #189 )
...
* Move lambda funtion to real function
* Fix some warnings when compiling in LLVM
* Adding one test back in
* Adding details to changelog
2019-01-11 11:58:00 +01:00
Philip Top
ce6dc0723e
add options to handle windows style command line options ( #187 )
...
* add some fields and functions for windows like options
add test cases for windows options and refactor for additional string functions
* try to fix code coverage to 100% again. add some additional documentation and a few additional test cases to verify documentation
* remove some extra brackets
2019-01-10 23:07:17 +01:00
Henry Fredrick Schreiner
2c024401cc
Minor touch up after #186
2019-01-06 10:46:12 +01:00
Philip Top
30c2e327d1
Add single string parsing ( #186 )
...
* add Tests and ability to handle program file inclusion in the single string.
add the ability to deal with a single string in the parse command and handle quoted string appropriately
* Add extra test cases for full coverage, clear up escape quote sequencing and handling of extra spaces
2019-01-06 10:30:49 +01:00
Philip Top
a83109002c
Add ignore underscore ( #185 )
...
* add ignore_underscore test cases and options to app
* add ignore_underscore for add_sets and some more tests for the sets and subcommands
* add some documentation lines and some failing tests
* update readme with ignore_underscore option
* remove failing tests from known issue
* remove empty line for code coverage
2019-01-03 09:22:09 +01:00
Henry Schreiner
c3d8d4a2d0
Adding new parse layout ( #178 )
...
* Adding new parse layout
* Dropping shortcurcuit from help, since it has special override
* Refactor help call
* Dropping shortcurcuit since it is not needed now that help has custom behavoir
* Dropping MaxSubcommand error (cannot occur)
2019-01-02 22:16:42 +01:00
Henry Fredrick Schreiner
bd4dc91184
add extra test
2018-11-24 23:40:18 +02:00
Henry Fredrick Schreiner
afa7a45665
Preparing for 1.6.2
2018-11-13 21:45:38 +01:00
Henry Schreiner
a78f5bcdcf
Dropping links if option removed ( #179 )
2018-11-13 17:12:48 +01:00
Henry Schreiner
b683f4ed96
Fix for spurious printout ( #177 )
2018-10-22 18:39:23 +02:00
Henry Fredrick Schreiner
6bd31c392d
Fixing #168
2018-10-21 12:16:34 +02:00
Henry Fredrick Schreiner
da901cca54
Fix logic error for #158
2018-09-16 13:50:08 +02:00
Henry Fredrick Schreiner
e04498c94d
Better help-all, prints more info, better spacing
2018-09-06 20:47:52 +02:00
Henry Fredrick Schreiner
0cb3959755
Fix for warnings in MSVC #157
2018-09-03 22:48:45 +02:00
Henry Fredrick Schreiner
b53eb51603
Fix for experimental optional with optional #158
2018-09-03 22:48:45 +02:00
Henry Fredrick Schreiner
92b8f6e3bf
Bump version to 1.6.1
2018-07-30 09:53:25 +02:00
Doug Johnston
8961df0e8b
Work around Windows min/max macro problem
2018-07-06 10:54:56 +02:00
Henry Fredrick Schreiner
20c304fa01
Adding more documentation to fix some warnings
2018-07-01 10:21:22 +02:00
Henry Fredrick Schreiner
9d6830e8d2
Adding more to documentation
2018-07-01 09:04:38 +02:00
Henry Fredrick Schreiner
e32656e46d
Version bump
2018-06-28 14:36:02 +02:00
Henry Schreiner
4974afb49d
Fix a minor best practices issue
2018-06-27 18:58:16 +02:00
Henry Fredrick Schreiner
a63609102a
Support empty lambdas
2018-06-27 18:58:16 +02:00
Henry Fredrick Schreiner
b453aebab9
Fixing one warning, adding to CHANGELOG
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
85aa0e7813
Dropping last (required) usages of clear
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
bf4ad1d717
Fixing error in setting args after parsing (broken test fixed)
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
8635c4d0eb
Dropping reset in favor of clear
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
3cb75b903e
Correcting the logic for sized types in vectors
2018-06-26 18:15:17 +02:00
Henry Fredrick Schreiner
70587c3a55
Moving to_flag to base class
2018-06-25 19:25:19 +02:00
Henry Schreiner
76f1b7bdf2
Rename inijoin to ini_join ( #137 )
2018-06-23 21:48:20 +02:00
Henry Fredrick Schreiner
98b31d788b
Adding tests and deprecation messages
2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
b2e471ac4d
Removing set_ for failure_message, footer, name, and callback
2018-06-18 15:13:59 +02:00
Henry Schreiner
bf2bc39c30
Rename to set_* on options and add return this
...
Now use type_name and type_size instead of set_custom_option.
2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
6f41cca918
Simpler check for optional
2018-06-13 15:56:03 +02:00
Henry Fredrick Schreiner
189546b82a
Bump version to 1.5.4
2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
87494a2270
Allow Optional search to be disabled by user
2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
dab61c0107
Fix for single file include order
2018-06-01 22:41:25 +02:00
Sean Fisk
225492f6f2
Add virtual destructor to Config class
...
Clang++/LLVM 6.0 complains about this from warning
-Wdelete-non-virtual-dtor which is included when using -Wall.
Both App and FormatterBase already have virtual destructors, so this
was probably just accidentally left out.
This is also a C++ best practice; I have drawn some guidelines from
here: http://www.gotw.ca/publications/mill18.htm
2018-05-24 20:02:13 +00:00
Henry Fredrick Schreiner
a323d7b444
Refactor group formatting a little
2018-05-22 14:07:20 +02:00
Henry Fredrick Schreiner
9b54b6e0fe
Undef error macros at end of file
2018-05-18 10:45:30 +02:00
Marcus Brinkmann
db8ccf8afe
Add const to argv argument of App::parse
2018-05-15 23:02:11 +02:00
Henry Fredrick Schreiner
47d5ed1453
Adding each()
2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
e8b45de6ec
Dropping a few lines
2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
d46c2c5727
Adding Config class
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
0d9a33d4ca
Adding access to current formatter, using shared pointer to link all formatters
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
aac957507d
Adding short_circuit to simplify parse procedure
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
101d847c29
Use filter fn to simplify, sort includes
2018-05-06 18:36:33 +02:00
Henry Fredrick Schreiner
3ff6fcae4e
Dropping unneeded static keywords
2018-05-04 16:25:16 +02:00
Henry Fredrick Schreiner
88521b58f8
Adding a few tools to make manual validation easier
2018-05-04 15:55:24 +02:00
Henry Fredrick Schreiner
f785046da6
Rename typeval to type_name to match API
2018-05-04 10:25:01 +02:00