• * add a few tests related to github issues
    
    * change how the default is displayed in the help message prev was =XXXX,  this was confusing in some cases particularly with flags or with multiple option names.    Now is [default=XXXX]  which makes it clearer what the value represents.
    
    * Try to fix RTTI issue
    
    * style: pre-commit.ci fixes
    
    * Fix subcommand callbacks being called multiple times if in an option group
    
    * style: pre-commit.ci fixes
    
    * remove extra group call
    
    * change [default=XXXXD] to just [XXXXX] for the default specification
    
    * update changelog
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Philip Top authored
     
    Browse File »






  • * Add a dedicated version option to CLI11 to facilitate use of version flags, similar to help flags
    
    * add some test for the version flag
    
    * update errors and formatting
    
    * clear up gcc 4.8 warnings
    
    * add a few more tests
    
    * fix compiler error
    
    * fix a few comments, and change default version flag to only use "--version"
    
    * remove `version` calls and tests
    
    * formatting and add `std::string version()`  back in.
    Philip Top authored
     
    Browse File »



  • * spelling: argument
    
    * spelling: conflicts
    
    * spelling: correctly
    
    * spelling: default
    
    * spelling: description
    
    * spelling: empty
    
    * spelling: enum
    
    * spelling: javascript
    
    * spelling: modifying
    
    * spelling: nonexistent
    
    * spelling: plumbum
    
    * spelling: programmatically
    
    * spelling: received
    
    * spelling: replaced
    
    * spelling: required
    
    * spelling: sanitizers
    
    * spelling: semicolon
    
    * spelling: source
    
    * spelling: subcommands
    
    * spelling: successful
    Josh Soref authored
     
    Browse File »

  • * work on the flags book chapter and making sure the values are initialized properly.
    
    * Fix initialization of values used in flags or options
    
    * update some formatting and more brace initialization
    
    * update more formatting and fix a incorrect initializer
    
    * more formatting and some error fixes
    
    * more formatting
    
    * Small formatting fix
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    Philip Top authored
     
    Browse File »

  • * Fix invalid callback calls for default_val Option function.  the update adds a flag variable to control it, makes default_val exception safe and a template to convert from actual value types.
    
    * update readme and fix some compilation issues on older compilers
    
    * revert README.md with mistake erasures
    
    * Update README.md
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    Philip Top authored
     
    Browse File »

  • * add ability to specify deprecated or retired options.
    
    * add retired example and tests
    
    * update some formatting and a few more test executions
    
    * fix formatting on retired.cpp
    
    * add another test to fill coverage gap for existing options that are being retired.
    
    * add example comments
    
    * Update readme with the descriptions of the new helper functions
    
    * fix space on readme
    
    * Apply suggestions from code review
    
    Co-Authored-By: Christoph Bachhuber <cbachhuber89@gmail.com>
    
    * add some flags to the code coverage report and update some names and add more descriptions to deprecated options
    
    * update formatting on App
    Philip Top authored
     
    Browse File »





  • fix incorrect parenthesis
    
    update some clang-tidy fixes mainly else after return but a few conversions from into to bool
    
    add extra newline before footer
    
    add an extra field to the extra Error
    
    add a footer callback for help operations
    Philip Top authored
     
    Browse File »



  • * add transform and checkedTransform tests
    
    add Transformer and CheckedTransformer validators
    
    * Eliminate the Validator description string, some code cleanup
    
    add tests
    
    Make Validators a full Object and remove friend,  move to descriptions instead of overriding type name.
    
    update validators to actually merge the type strings and use all validators in the type outputs
    
    rework join so it works without the start variable,  allow some forwarding references in the validator types, some tests for non-copyable maps, and transforms
    
    merge the search function and enable use of member search function,  make the pair adapters forwarding instead of copying
    
    * add a few more tests and documentation
    
    fix some gcc 4.7 issues and add a few more test cases and more parts of the README
    
    Work on ReadMe and add Bound validator to clamp values
    
    * updates to README.md
    
    * Add some more in TOC of README and fix style in Option.hpp
    Philip Top authored
     
    Browse File »

  • * Adding first draft of mapping
    
    * IsMember now supports maps
    
    * Adding example, better Val combs, and cleanup
    
    * Reversing order of map, adding pair support
    
    * Check/Transform suppport for Validators
    
    * Adding enum tools from @phlptp, more tests
    Henry Schreiner authored
     
    Browse File »

  • * Adding first draft of Sets
    
    Use IsMember now
    
    Using IsMember as backend for Set
    
    Non-const validator backend
    
    Move set tests to set
    
    Clearer inits
    
    * Drop shortcut
    
    Tighten up classes a bit for MSVC
    
    Check with GCC 4.8 too
    
    * Simpler templates, but more of them
    
    Dropping more type safety for older compilers
    
    Shortcut string set
    
    * Adding shortcut init
    
    Making g++ 4.7 docker image happy
    
    Fix Clang tidy issue with last commit
    
    Adding one more shortcut, adding a couple of tests
    
    * Dropping dual pointer versions of code
    
    * Smarter shortcut syntax
    
    * Adding slighly faster choices
    
    * Cleanup to make InMember simpler
    
    * Drop choices for now, adding some tests
    
    * ValidationError is now always the error from a validator
    
    * Support for other types of initializer lists, including enums
    
    * Factor out type utilities, single version of IsMember code
    
    * Adding a few tests for #224
    
    * Minor cleanup for Validation Error
    
    * Adding tests, moved deprecated tests
    
    * Docs updates
    Henry Schreiner authored
     
    Browse File »


  • * Added posibility to modify option description: Option::description(const std::string&).
    Related: https://github.com/CLIUtils/CLI11/issues/193
    
    * Return Option* from Option::description(...).
    Format-fix to make clang-format happy.
    
    * Fixing format
    
    * Added posibility to modify app description: App::description(const std::string&).
    
    * Fixing Style
    
    * Update readme and changelog
    Fred Helmesjö authored
     
    Browse File »

  • * Getting a bit closer to Version 1.7
    
    * Check and fix for deleting an option pointer directly that is also a help option. It is not common, but could be done
    Henry Schreiner authored
     
    Browse File »