From e735e660ed321843fee9898c1296e6b2961b35e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mahni=C4=8D?= Date: Sun, 8 Mar 2020 19:41:20 +0100 Subject: [PATCH] Add changelog --- ChangeLog.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ChangeLog.md diff --git a/ChangeLog.md b/ChangeLog.md new file mode 100644 index 0000000..f91364d --- /dev/null +++ b/ChangeLog.md @@ -0,0 +1,20 @@ + +# Changelog + +## [0.3.0] + +### Added + +- It is now possible to add an instantiated instance of CommandOptions with `add_command`. This + makes it easier to access global options from within command options. See the test + shouldAccessParentOptionsFromCommand in `command_t.cpp` and the new example in the README file. +- The help formatter can be changed in parser configuration. See the test shouldChangeHelpFormatter + in `parserconfig_t.cpp`. + +### Changed + +- The interface for defining program parameters has changed. The parameters are defined through the + `params()` method of the `argument_parser` class. The old `argument_parser` methods for defining + parameters are deprecated and will be removed. +- Fix: Treat negative numbers as numbers when they can not be mistaken for options. +