1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 04:33:53 +00:00

393 Commits

Author SHA1 Message Date
Henry Fredrick Schreiner
f059528559 Support for multi-size MultiOptionPolicies 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
447bda047f Adding size instead of expected + unchangable 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
de06d50f34 Adding better boost testing on old compilers 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
20b7232c47 Fix for Windows MSVC 2017 and GoogleTest 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
67c4eb71e5 Style and typo fix 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
17437921c0 Adding more informational printouts 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
39e777392d Adding informational printout to ctest 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
43ec307781 Better message about optional test, warning suppression 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
7a7064df4e Adding optional, refactor single file 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
eed238364b Expanding tests 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
368f2cd9a6 Fix for deprecated macro 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
d2d4f07fd4 Dropping CLI_ in favor of CLI11_ everywhere 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
5c0d6617d5 Adding optional test 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
bea833bbcd Adding and fixing more warnings 2018-03-26 11:48:23 +02:00
Henry Fredrick Schreiner
268c26ad62 Fix #64 by auto-adding symmetric excludes 2018-03-26 10:56:08 +02:00
Henry Fredrick Schreiner
2b4780d74a Add --option=value test for #90, as well 2018-03-26 08:31:14 +02:00
Henry Fredrick Schreiner
aa7c01ff5d Adding test and fix for #90 2018-03-25 17:56:46 +02:00
Henry Schreiner
79a1847605
Overflow (#84)
* Overflowing an integer conversion now results in a conversion failure

* CMake improvements for VERSION and inital packing support

* Fix for recent addition of overflow check

* Conan file now gets version from Version.hpp file too
2018-03-10 09:50:25 +01:00
Anton
15f9a4f128 Add check if lexical_cast fully consumed input on integer conversion (#68)
* Split signed/unsigned parsing, add check if input is fully consumed, improve tests

* Fix complex numbers parsing

* Add check if input is fully consumed for double lexical_cast, improve tests

* Add non-num non-string lexical_cast for parsable types, add tests

* Style fixes from check-style

* Some small fixes for corner case tests
2018-03-09 13:01:19 +01:00
Henry Schreiner
5186158442
Rename requires to needs (#82)
* Adding fix for #75, rename requires to needs

* Removing check for install commands (should still be run in subproject)
2018-03-08 11:48:40 +01:00
Jonas Nilsson
d465414455 Issue 70 (#80)
* Support for unused (un-defined) extras in ini-files.

* Fixed extra options in INI files to be closer to that of extra CLI arguments.

* Fixed formatting.

* Minor formatting fix.

* Fixing style

* Fixed INHERITABLE and other minor things.
2018-02-16 13:58:47 +01:00
Lucas Czech
7868dc9f6c Add path exists validator. 2018-01-07 22:35:01 +01:00
Henry Fredrick Schreiner
78ed995685 Add multiline ini comments 2017-12-23 14:17:38 -06:00
Henry Fredrick Schreiner
b10b9c8291 Run clang-format script 2017-12-23 09:47:52 -06:00
Jonas Nilsson
97b1def525 Added basic support for writing description to config string. 2017-12-18 11:47:18 +01:00
Henry Fredrick Schreiner
67cd2e6345 Adding get_parent() 2017-12-12 15:19:32 -06:00
Henry Schreiner
97b6265cee
Dropping check for size in test (not needed anymore) 2017-12-06 14:59:28 -05:00
Henry Fredrick Schreiner
14a8c55301 Fixing test error with clang + stdlibc++ 2017-11-30 16:29:30 -06:00
Henry Fredrick Schreiner
68207bdcc1 Removing non-configurable from config_to_str 2017-11-30 09:34:45 -05:00
Henry Fredrick Schreiner
45520a0ec4 Fix error with if(string) 2017-11-28 21:28:37 -05:00
Henry Fredrick Schreiner
a6c17a4a9d Rename add_config to set_config 2017-11-28 21:28:37 -05:00
Henry Fredrick Schreiner
4dac11c025 Finishing addition of ->configurable() 2017-11-28 21:28:37 -05:00
Henry Fredrick Schreiner
c1fb53f00d Moving error messages definitions to Error.h 2017-11-28 21:28:37 -05:00
Henry Fredrick Schreiner
d6b983a2a7 Adding back short-cuts 2017-11-28 15:24:37 -05:00
Henry Fredrick Schreiner
954c93d585 Using more powerful policy system, to allow git-like -m options 2017-11-28 15:24:37 -05:00
Henry Fredrick Schreiner
958b0e511e Fixing -N values min count throw 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
6638549adb Adding check for -2 opts 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
1b3a4b63c8 Combining parse functions for short and long 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
133c7d5075 Allow suggestions for number of args 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
88c680a12b Check that no change doesn't throw 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
3e651e3b7e Moved more string processing to Error 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
f6c9ce6109 Moving code to Error, better ArgumentMismatch throwing 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
4d5bff2393 Adding ArgumentMismatch, changable improvement 2017-11-26 15:11:48 -05:00
Henry Fredrick Schreiner
3d309dc0be Adding fail if required values missing 2017-11-25 19:03:03 -05:00
Henry Fredrick Schreiner
44de4de118 Adding test, fixing option name to single name in message 2017-11-24 21:11:28 -05:00
Henry Fredrick Schreiner
85857d99e1 Return string for error message in validators 2017-11-24 21:11:28 -05:00
Henry Fredrick Schreiner
715573359e Using nicer format for transform 2017-11-24 21:11:28 -05:00
Henry Fredrick Schreiner
038eafed29 Adding test and keeping validator API similar 2017-11-24 21:11:28 -05:00
Henry Fredrick Schreiner
a958ffece2 Dropping name from simple print, better seperation for Errors
Some error codes are renamed
2017-11-22 22:41:14 -05:00
Henry Fredrick Schreiner
b45917e3e5 Dropping ERROR in simple printout 2017-11-22 16:55:48 -05:00