Skip to content

Releases: brechtsanders/miniargv

miniargv-1.2.2

Choose a tag to compare

@brechtsanders brechtsanders released this 17 May 12:30
  • fixed miniargv_cb_set_boolean() to consider no value specified as boolean value true
  • added miniargv_cb_strdup_stripquotes()

miniargv-1.2.1

Choose a tag to compare

@brechtsanders brechtsanders released this 03 Apr 19:52
  • added functionality to read configuration data from memory or a custom source:
    • added miniargv_process_cfgdata()
    • added miniargv_process_cfgmemory()
    • added miniargv_cfg_readline_fn function type
    • added miniargv_readline()
    • added miniargv_process_cfgcustom()

miniargv-1.2.0

Choose a tag to compare

@brechtsanders brechtsanders released this 03 Feb 19:25
  • add error handler argument of type miniargv_handler_fn to miniargv_process_env() and miniargv_process_cfgfile()

miniargv-1.1.2

Choose a tag to compare

@brechtsanders brechtsanders released this 29 Jan 20:36
  • added MINIARGV_IGNORE_ERRORS to use as handler to ignore errors
  • added miniargv-example-specifiedcfgfile.c to show how use a configuration file specified at run time
  • fixed crash in miniargv_process_env() when env is NULL pointer

miniargv-1.1.1

Choose a tag to compare

@brechtsanders brechtsanders released this 28 Jan 13:07
  • added protection against infinite recursion when using include in configuration files (maximum include depth limited to 32)
  • added HTML documentation to Windows binary packages
  • changes needed for GitHub Actions' Node.js update

miniargv-1.1.0

Choose a tag to compare

@brechtsanders brechtsanders released this 27 Jan 19:11
  • support configuration file sections and added section parameter to miniargv_process_cfgfile()
  • updated example code in README.md

miniargv-1.0.0

Choose a tag to compare

@brechtsanders brechtsanders released this 02 Apr 18:40
  • support for bash completion:
    • added new function type miniargv_handler_fn
    • added new member of struct miniargv_definition_struct / miniargv_definition: completefn
    • added new function: miniargv_completion()
    • added new callback functions: miniargv_complete_cb_noop() / miniargv_complete_cb_env() / miniargv_complete_cb_file() / miniargv_complete_cb_folder()
    • added new example: miniargv-example-complete.c
  • added new function: miniargv_find_arg()
  • added new definition: MINIARGV_DEFINITION_END

miniargv-0.2.19

Choose a tag to compare

@brechtsanders brechtsanders released this 30 Mar 19:24
  • fixed issue in miniargv_getprogramname() when there is no path separator in argv0
  • also support long arguments with space instead of equals sign

miniargv-0.2.18

Choose a tag to compare

@brechtsanders brechtsanders released this 24 Feb 13:22
  • added miniargv_find_shortarg(), miniargv_find_longarg(), miniargv_find_standalonearg()
  • changed to miniargv_process_partial_single_arg() to use the above functions
  • fix missing \endcond in miniargv.h (caused Doxygen error)

miniargv-0.2.17

Choose a tag to compare

@brechtsanders brechtsanders released this 28 Dec 20:12
  • fixes in internal function miniargv_process_partial_single_arg()
  • add generation and installation of miniargv.pc to Makefile