Skip to content

Commit 34a6c99

Browse files
style: pre-commit.ci fixes
1 parent 73cf0cf commit 34a6c99

File tree

2 files changed

+30
-18
lines changed

2 files changed

+30
-18
lines changed

CHANGELOG.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,34 @@
44

55
## Version 2.6.2
66

7-
This version adds C++20 modules support, additional controls for help output and finer grained control for extras handling and prefix command operation. Fixes compatibility issues with C++26 and Windows and a number of small issue with help output and specific conditions.
7+
This version adds C++20 modules support, additional controls for help output and
8+
finer grained control for extras handling and prefix command operation. Fixes
9+
compatibility issues with C++26 and Windows and a number of small issue with
10+
help output and specific conditions.
811

912
### Added
1013

1114
- Added C++20 modules support with new module files and tests. [#1286][]
12-
- Added configuration modes for extras handling: `AssumeMultipleArguments` and `AssumeSingleArgument`. [#1270][]
13-
- Added option for full install including impl headers with precompiled option. [#1252][]
14-
- Added improvements to prefix commands including `PrefixCommandMode` and separator specification. [#1266][]
15-
- Added controls for option name formatting in help output, allowing disabling of default values, flags, and type names. [#1247][]
16-
- Added refactor of Meson build system with updated version and new options. [#1280][]
15+
- Added configuration modes for extras handling: `AssumeMultipleArguments` and
16+
`AssumeSingleArgument`. [#1270][]
17+
- Added option for full install including impl headers with precompiled option.
18+
[#1252][]
19+
- Added improvements to prefix commands including `PrefixCommandMode` and
20+
separator specification. [#1266][]
21+
- Added controls for option name formatting in help output, allowing disabling
22+
of default values, flags, and type names. [#1247][]
23+
- Added refactor of Meson build system with updated version and new options.
24+
[#1280][]
1725
- Added support for Bazel 9. [#1287][]
1826
- Added module testing infrastructure. [#1255][]
1927

2028
### Changed
2129

22-
- Changed default to install impl headers even when precompiled option is selected. [#1291][]
30+
- Changed default to install impl headers even when precompiled option is
31+
selected. [#1291][]
2332
- Updated copyright dates to 2026. [#1283][]
24-
- Updated CI pipelines including Azure Pipelines and GitHub workflows. [#1267][], [#1283][]
33+
- Updated CI pipelines including Azure Pipelines and GitHub workflows.
34+
[#1267][], [#1283][]
2535
- Updated documentation and book chapters. [#1250][]
2636

2737
### Fixed
@@ -30,8 +40,11 @@ This version adds C++20 modules support, additional controls for help output and
3040
- Fixed option searching to use fallthrough in parent apps. [#1292][]
3141
- Fixed C++26 template ambiguity for `std::complex`. [#1278][]
3242
- Fixed UTF-8 config filenames not supported on Windows. [#1273][]
33-
- Fixed enumeration stream output generating unconvertible strings if certain a user supplied stream conversion method was supplied [#1261][]
34-
- Fixed code simplification issues by removing use of static std::string which was causing some heap allocation issues when using CLI11 as part of DLL on certain operating systems [#1244][]
43+
- Fixed enumeration stream output generating unconvertible strings if certain a
44+
user supplied stream conversion method was supplied [#1261][]
45+
- Fixed code simplification issues by removing use of static std::string which
46+
was causing some heap allocation issues when using CLI11 as part of DLL on
47+
certain operating systems [#1244][]
3548

3649
[#1286]: https://github.com/CLIUtils/CLI11/pull/1286
3750
[#1270]: https://github.com/CLIUtils/CLI11/pull/1270
@@ -71,7 +84,6 @@ and a potential segmentation fault from specially crafted config files
7184
potential memory issues when CLI11 is used with shared libraries, this likely
7285
isn't a bug but the fix did result in smaller code size so was kept. [#1244][]
7386

74-
[#1244]: https://github.com/CLIUtils/CLI11/pull/1244
7587
[#1238]: https://github.com/CLIUtils/CLI11/pull/1238
7688
[#1239]: https://github.com/CLIUtils/CLI11/pull/1239
7789

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ Features that were added in the last released minor version are marked with
7272
### Introduction
7373

7474
CLI11 provides all the features you expect in a powerful command line parser,
75-
with a beautiful, minimal syntax and no dependencies beyond C++11. It is header-only,
76-
and comes in a single file form for easy inclusion in projects. It is easy
77-
to use for small projects, but powerful enough for complex command line
75+
with a beautiful, minimal syntax and no dependencies beyond C++11. It is
76+
header-only, and comes in a single file form for easy inclusion in projects. It
77+
is easy to use for small projects, but powerful enough for complex command line
7878
projects, and can be customized for frameworks. It is tested on [Azure][] and
7979
[GitHub Actions][actions-link], and was originally used by the [GooFit GPU
8080
fitting framework][goofit]. It was inspired by [`plumbum.cli`][plumbum] for
@@ -1126,8 +1126,8 @@ option_groups. These are:
11261126
executes after the first argument of an application is processed. See
11271127
[Subcommand callbacks](#callbacks) for some additional details.
11281128
- `.allow_extras()`: Do not throw an error if extra arguments are left over.
1129-
- `.allow_extras(CLI::ExtrasMode)`: 🆕 Specify the method of handling unrecognized
1130-
arguments.
1129+
- `.allow_extras(CLI::ExtrasMode)`: 🆕 Specify the method of handling
1130+
unrecognized arguments.
11311131
- `CLI::ExtrasMode::Error`: generate an error on unrecognized argument. Same
11321132
as `.allow_extras(false)`.
11331133
- `CLI::ExtrasMode::ErrorImmediately`: generate an error immediately on
@@ -1151,8 +1151,8 @@ option_groups. These are:
11511151
remaining_arg list. It is ideal for allowing your app or subcommand to be a
11521152
"prefix" to calling another app. Can be called with a `bool` value to turn on
11531153
or off
1154-
- `.prefix_command(CLI::PrefixCommandMode)`: 🆕 specify the prefix_command mode to
1155-
use. `PrefixCommandMode::on` and `PrefixCommandMode::off` are the same as
1154+
- `.prefix_command(CLI::PrefixCommandMode)`: 🆕 specify the prefix_command mode
1155+
to use. `PrefixCommandMode::on` and `PrefixCommandMode::off` are the same as
11561156
`prefix_command(true)` or `prefix_command(false)`. Calling with
11571157
`PrefixCommandMode::separator_only` will only trigger prefix command mode by
11581158
the use of the subcommand separator `--` other unrecognized arguments would be

0 commit comments

Comments
 (0)