Skip to content

V1.10.2: Merge pull request #52 from dparrish/patch_against_libcli_1_10_0_rel2

Compare
Choose a tag to compare
@RobSanders RobSanders released this 24 Sep 12:26
· 66 commits to stable since this release
359ddb6
  • Multiple significant bug fixes against V1.10.0 for options/arguments and buildmode processing
  • Cosmetic changes to text shown in buildmode
  • Addition of 'long line' processing for help entries (examples in clitest)
  • Addition of 'extra help' for optargs (examples in clitest)
  • Exposing previously hidden calls for internal help/exit/history/enable/disable commands

NOTE : there is a breaking API change from 1.10.0
The signature for cli_register_optarg() has been changed so the routine now returns a 'struct cli_optarg *' rather than a plain int value. This is due to the new cli_optarg_addhelp() routine needing a pointer to the optarg value that extra help is being added to.