Skip to content

Commit

Permalink
Update spec file with breaking API change required to fix bug in 1.10.0
Browse files Browse the repository at this point in the history
- In order to have cli_optarg_addhelp() add the extra help text to the right
  optarg, the return value of cli_register_optarg() was changed from an int
  to a 'struct optarg *'
  • Loading branch information
Rob Sanders committed Sep 24, 2019
1 parent 148080e commit 15e5d52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libcli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ rm -rf $RPM_BUILD_ROOT
- Add support so the buildmode unset command has dynamic help messages
depending on what has already been set
- Prevent spot check optargs from appearing in buildmode
- BREAKING API CHANGE - the 'cli_register_optarg()' function is now returning
a pointer to the newly added optarg or NULL instead of an integer
return code. This is to fix a design bug where it was difficult to
use the new 'cli_optarg_addhelp()' function. Only affects moving from
1.10.0 to 1.10.2 (1.10.1 was never released)

* Tue Sep 3 2019 Rob Sanders <[email protected]> 1.10.2-1
- Fix bug in cli_optarg_addhelp()
Expand Down

0 comments on commit 15e5d52

Please sign in to comment.