Download Latest Version Refresh Release source code.zip (104.0 kB)
Email in envelope

Get an email when there's a new version of Argh!

Home / v1.2.0
Name Modified Size InfoDownloads / Week
Parent folder
Batch Parameter Pre-registration source code.tar.gz 2017-09-10 57.0 kB
Batch Parameter Pre-registration source code.zip 2017-09-10 59.3 kB
README.md 2017-09-10 422 Bytes
Totals: 3 Items   116.7 kB 0

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:

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

Source: README.md, updated 2017-09-10