Even Rouault
|
907b942db2
|
Change key of m_subparser_map and m_subparser_used to be a std::string to make clang -fsanitize=unsigned-integer-overflow happy
|
2024-03-11 22:37:14 +01:00 |
|
Even Rouault
|
c4406e2479
|
Change key of m_argument_map to be a std::string to make clang -fsanitize=unsigned-integer-overflow happy
|
2024-03-11 22:09:39 +01:00 |
|
Pranav
|
1b3abd9b92
|
Merge pull request #326 from stripe2933/master
Fix for C++23 standard library module usage.
|
2024-02-06 21:23:27 -05:00 |
|
LEE KYOUNGHEON
|
f9057b85a0
|
Update argparse.cppm
Fix typo
|
2024-02-06 17:10:14 +09:00 |
|
LEE KYOUNGHEON
|
6bdc003e15
|
Import std.compat module.
To use <cstdlib> feature, std.compat module should be imported.
|
2024-02-06 17:05:54 +09:00 |
|
LEE KYOUNGHEON
|
873596b41d
|
Move <errno> include outside the ARGPARSE_MODULE_USE_STD_MODULE
<errno> header exposes errno macro, which cannot be exported in C++ module. It must always included regardless of module usage.
|
2024-02-06 17:05:07 +09:00 |
|
Pranav
|
69dabd88a8
|
Merge pull request #310 from p-ranav/bugfix/307_choices
Bugfix/307 choices
|
2023-11-13 16:23:15 -06:00 |
|
Pranav Srinivas Kumar
|
d8aa2ba1db
|
Added nargs test for multiple values to a choices() argument
|
2023-11-13 14:19:55 -08:00 |
|
Pranav Srinivas Kumar
|
f5287e2f20
|
Closes #307
|
2023-11-13 14:16:26 -08:00 |
|
Pranav
|
af442b4da0
|
Merge pull request #306 from p-ranav/feature/binary_number_parsing
Added support for binary notation, e.g., 0b101
|
2023-11-05 19:15:14 -06:00 |
|
Pranav Srinivas Kumar
|
16e2a1da72
|
Added support for binary notation, e.g., 0b101
|
2023-11-05 19:06:50 -06:00 |
|
Pranav
|
5effc4f206
|
Merge pull request #305 from p-ranav/bugfix/260_segfault_copy
Bumped version to v3.0 ahead of release
|
2023-11-05 18:32:32 -06:00 |
|
Pranav Srinivas Kumar
|
379ebb6b16
|
Bumped version to v3.0 ahead of release
|
2023-11-05 18:20:10 -06:00 |
|
Pranav
|
6a5fbf778c
|
Merge pull request #304 from p-ranav/bugfix/260_segfault_copy
Marked copy and move constructors as deleted
|
2023-11-05 18:18:20 -06:00 |
|
Pranav Srinivas Kumar
|
f84fa8484a
|
Marked copy and move constructors as deleted
|
2023-11-05 18:13:17 -06:00 |
|
Pranav Srinivas Kumar
|
3596748798
|
Removed test code
|
2023-11-05 17:10:27 -06:00 |
|
Pranav
|
ef92a8523e
|
Merge pull request #302 from ismagilli/typo_in_readme
FIX: typo in README.txt
|
2023-11-05 07:59:32 -06:00 |
|
Pranav
|
3cc913d5ff
|
Merge pull request #273 from ismagilli/issue_258
NEW: suppress flag for subcommand
|
2023-11-05 07:58:02 -06:00 |
|
Alexey Ismagilov
|
634b1202b0
|
FIX: typo in README.txt
|
2023-11-05 16:05:55 +03:00 |
|
Alexey Ismagilov
|
33146122a2
|
NEW: suppress flag for subcommand
resolve #258
|
2023-11-05 15:23:15 +03:00 |
|
Pranav
|
086c8f3db0
|
Merge pull request #301 from p-ranav/feature/221_mutex_args
Closes #221
|
2023-11-04 15:54:37 -05:00 |
|
Pranav Srinivas Kumar
|
a9869150fd
|
Changed from using std::set to std::vector for mutex_args elements
|
2023-11-04 15:51:22 -05:00 |
|
Pranav Srinivas Kumar
|
ecccae530c
|
Using size_t for levenshtein distance
|
2023-11-04 15:48:13 -05:00 |
|
Pranav Srinivas Kumar
|
b43c0a7e83
|
Addressed clang-tidy issues
|
2023-11-04 15:46:41 -05:00 |
|
Pranav Srinivas Kumar
|
e0a095571f
|
Updated README to include mutex_args feature
|
2023-11-04 15:41:48 -05:00 |
|
Pranav Srinivas Kumar
|
de4239483d
|
Added logic and unit tests for the required flag in mutex_args
|
2023-11-04 15:36:01 -05:00 |
|
Pranav Srinivas Kumar
|
7bbde0defb
|
Added unit test for 2 mutex_groups
|
2023-11-04 15:24:07 -05:00 |
|
Pranav Srinivas Kumar
|
8f70dde82e
|
Added unit test for mutex_args with three arguments
|
2023-11-04 15:20:47 -05:00 |
|
Pranav Srinivas Kumar
|
eea95c0e3a
|
Added mutex args to copy constructor, changed to ordered set for data structure
|
2023-11-04 15:19:10 -05:00 |
|
Pranav Srinivas Kumar
|
39988ec62d
|
Initial commit for implementing MutuallyExclusiveGroup
|
2023-11-04 14:57:01 -05:00 |
|
Pranav Srinivas Kumar
|
281f1ab017
|
Closes #113, add custom std::ostream& argument to ArgumentParser constructor
|
2023-11-04 09:31:13 -05:00 |
|
Pranav Srinivas Kumar
|
7a3e0f1cb3
|
Added another unit test for optional argument error reporting
|
2023-11-04 09:17:59 -05:00 |
|
Pranav Srinivas Kumar
|
c6e64ae36d
|
Simplified logic in error reporting, asking user if they meant to use a specific optional argument
|
2023-11-04 09:11:34 -05:00 |
|
Pranav Srinivas Kumar
|
62052fefcb
|
Closes #285
|
2023-11-04 09:01:31 -05:00 |
|
Pranav Srinivas Kumar
|
7657a22001
|
Updated formatting of error message, showing all variations of argument name
|
2023-11-03 22:18:08 -05:00 |
|
Pranav Srinivas Kumar
|
78ba5e9828
|
Removed brackets and quotes in error message
|
2023-11-03 22:12:00 -05:00 |
|
Pranav Srinivas Kumar
|
4111905a74
|
Improved error reporting for #299
|
2023-11-03 22:05:46 -05:00 |
|
Pranav
|
ac4c578f60
|
Merge pull request #298 from cobyj33/cobyj33-fix-subdirectory-cmake-options
Set argparse to not run tests or set up install if not top level
|
2023-11-01 06:13:02 -05:00 |
|
cobyj33
|
e6d2628723
|
Set argparse to not run tests or set up install if not top level
|
2023-10-31 21:09:12 -05:00 |
|
Pranav
|
e4d4f67a44
|
Merge pull request #297 from cobyj33/cobyj33-more-descriptive-errors
More descriptive parse_number errors
|
2023-10-28 06:23:51 -05:00 |
|
Pranav
|
0d97e1c00a
|
Merge pull request #296 from cobyj33/cobyj33-fix-sample-building
Fix all samples building to "tests" binary
|
2023-10-28 06:17:30 -05:00 |
|
cobyj33
|
9e647254f8
|
More descriptive parse_number errors
|
2023-10-28 00:26:08 -05:00 |
|
cobyj33
|
5b4f357326
|
Fix all samples building to "tests" binary
|
2023-10-27 23:03:00 -05:00 |
|
Pranav Srinivas Kumar
|
4d8cb2391b
|
Added README entry for flag()
|
2023-10-27 16:38:53 -05:00 |
|
Pranav Srinivas Kumar
|
716ec60291
|
Added flag() shorthand function
|
2023-10-27 16:37:20 -05:00 |
|
Pranav Srinivas Kumar
|
5e7ce61ca7
|
Closes #278
|
2023-10-27 12:59:04 -05:00 |
|
Pranav Srinivas Kumar
|
d28188f4d5
|
Closes #247
|
2023-10-27 12:34:57 -05:00 |
|
Pranav Srinivas Kumar
|
bf9642c51d
|
Upgraded doctest to v2.4.11
|
2023-10-27 11:41:35 -05:00 |
|
Pranav Srinivas Kumar
|
22d57ac9ba
|
Added C++17 requirement to samples CMakeLists
|
2023-10-27 11:33:09 -05:00 |
|
Pranav
|
b10afeb50c
|
Merge pull request #295 from p-ranav/feature/277_choices
Closes #277
|
2023-10-27 10:57:40 -05:00 |
|