Skip to content

Latest commit

 

History

History
97 lines (86 loc) · 6.56 KB

ChangeLog.md

File metadata and controls

97 lines (86 loc) · 6.56 KB

What's new in Ookii.CommandLine for C++

Ookii.CommandLine for C++ 2.0.2 (2025-05-13)

  • Fix compilation errors affecting the unit tests with recent versions of Visual Studio 2022.
    • There is a small chance this could affect your code if you were using certain helper functions defined in the format_helper.h header directly (they are otherwise not used outside the unit tests).

Ookii.CommandLine for C++ 2.0.1 (2023-10-11)

  • Fix the description of the NuGet package.
  • This release is NuGet-only and does not contain any other changes. The project version number has not changed; only the NuGet package version.

Ookii.CommandLine for C++ 2.0 (2023-01-12)

  • Argument parsing
    • Added support for a new parsing mode where arguments can have a separate long name using the -- prefix (customizable, of course) and single-character short name using the - prefix. This allows you to use a parsing style that's similar to POSIX conventions.
    • You can use functions to define arguments.
    • Automatically add a -Help argument if not defined, and support easily adding a -Version argument.
    • Added the ability to customize error messages and other strings.
  • Subcommands
  • Usage help
    • Color output support.
    • Greatly expanded usage help customization options with the new usage_writer class, including abbreviated syntax, description list ordering and filtering, the ability to override any string or format, and more.
    • Arguments that have no description but that have other information not shown in the usage syntax (like aliases or a default value) will be included in the description list by default.
  • line_wrapping_ostream has an option to flush all content, including the last unfinished line.
  • Added line_wrapping_ostringstream class.
  • Code generation supports the new functionality.
  • Updated and improved documentation.
  • More samples with descriptions and explanations.
  • No longer uses the C++20 <ranges> header because it didn't work in Clang.
  • Various bug fixes.

There are a number of breaking API changes from version 1.0:

Ookii.CommandLine for C++ 1.0 (2022-10-23)