-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|