Skip to content

libcmdapp v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ethanuppal ethanuppal released this 16 Mar 22:41

Changes

  • To allow specifying a default argument value, the argument name is now provided optionally after the . in the behavior string.
  • ca_opt now returns a boolean pointer, whose value will be set to true if the flag defined is passed. The value of NULL replaces the previous value of failure.

Major Fixes

  • No more crashing when callbacks not provided.
  • Option arguments are written to the provided result string (previously, these would never be written to).

Other Fixes

  • Switched to using the static library for testing because dynamic libraries are broken on the author's machine.