Skip to content

Releases: likle/cargs

v1.2.0

19 Jun 16:35
v1.2.0
0fbac1a
Compare
Choose a tag to compare

Bugfixes

  • Fixed long names with same prefix to incorrectly match (thanks to @ypogribnyi)

Enhancements

  • Removed memory.h header which is not required (thanks to @piscilus)
  • Improved code formatting (thanks for reporting #16 to @xmo0)
  • Introduction of .clangd for better static code analysis

Features

  • Allow compiling and printing without the FILE API (thanks to @Christer-Ekholm)

v1.1.0

07 Jan 15:02
Compare
Choose a tag to compare

Bugfixes

  • added boundary check for systems where last argv is not null (thanks to @Christer-Ekholm)

Enhancements

  • cargs is now in the clib ecosystem (thanks to @jwerle).
  • additional example for using cargs non-option parameters (feedback by @markmaker)
  • removed LGTM badge from README since it is no longer available
  • added pkg-config file in cmake installations
  • changed README line endings to unix (#7 reported by @davidebeatrici)
  • demo can now be built using the main cmake (#9 implemented by @marcastel)
  • renamed cag_option_prepare to cag_option_init (old name still available for now but deprecated).
  • renamed cag_option_get to cag_option_get_identifier (old name still available for now but deprecated).

Features

  • added cag_option_get_error_index, cag_option_get_error_letter, and cag_option_print_error (thanks to @komothecat).
  • added pkg-config generation in cmake

v1.0.3

15 Mar 23:18
Compare
Choose a tag to compare

Bugfixes

  • Added missing CWK_SHARED macro for shared library builds

v1.0.2

12 Mar 11:47
Compare
Choose a tag to compare

Bugfixes

  • Option indention works now even if the option description is large

Enhancements

  • CMake install instructions have been added
  • Builds are now tested against FreeBSD and a newer Ubuntu (Focal Fossa)

v1.0.1

28 Mar 16:20
Compare
Choose a tag to compare

Bugfixes

  • Fixed order of non-option arguments (#2 submitted by @ZornsLemma)
  • Added overriding of dependencies in meson (by @mo7sen)

Enhancements

  • Added extern C for C++ projects

v1.0.0

01 Aug 11:40
Compare
Choose a tag to compare

This is the first stable release of cargs. It contains basic functionality to parse command line arguments.