All Versions
5
Latest Version
Avg Release Cycle
143 days
Latest Release
2045 days ago

Changelog History

  • v1.3.1 Changes

    April 02, 2019

    HT: @a4z

  • v1.3.0 Changes

    November 26, 2018

    ๐Ÿš€ This release includes multiple user contribution including:

  • v1.2.1 Changes

    March 06, 2018

    ๐Ÿš€ This release adds conan package support to Argh! making it available for deployment from Bintray.

  • v1.2.0 Changes

    September 10, 2017

    The main changes:

    • โž• Adds add_params({...}) method for batch pre-registration of options as parameters.
    • Since pre-registration has to be done before parsing, we might as well just use the ctor, so adds new ctor for batch pre-registration.
    • โž• Adds begin() and end() for directly using range-for over positional args:

      for (auto& pos_arg : cmdl) cout << '\t' << pos_arg << '\n';

  • v1.1.0 Changes

    September 09, 2017

    The main changes:

    ๐Ÿ‘ Multi-name flag/option support. Just provide a list of alternate names in { ... }.
    The first match will return.
    Example:
    cmdl({ "-t", "--threshold"}, 128) >> theshold;
    If either t or threshold were specified (dashes are ignored), set threshold to that value.
    0๏ธโƒฃ Otherwise use the default: 128.

    ๐Ÿ“œ No need to provide argc to parser.
    You can now write:

    int main(int, char\* argv[]) { argh::parser cmdl(argv); // Look Ma! no argc!// ....
    

    ๐Ÿ”จ Some internal refactoring.