- Correct parsing of arguments with the default parser relied upon nonstandard ios flag behaviour.
-
Removed the distinction between the
tinyoptandsmoloptinterfaces. Options can be parsed one-by-one withto::parse, or in a batch withto::run. -
to::parsecan take any number of short- or long-style keys, instead of a single short and single long argument. -
The hard-coded
--option, indicating that remaining arguments should be left unprocessed, has been removed. Any flag can be given this behabiour with the newto::stopflag. -
All functionality is now in a single header,
tinyopt/tinyopt.h. -
CI unit testing is now performed on pushes and pull request on GitHub.