2026-03-10 Antonio Diaz Diaz * Version 1.21 released. * Replace 'bool in_order' with 'int flags'. * New flags 'in_order_stop' and 'in_order_skip'. * New flag 'neg_non_opt'. (Suggested by Mohammad Akhlaghi). * Rename Has_arg value 'yme' to 'yesme'. * carg_parser.h (struct Arg_parser): Remove 'error_size'. * carg_parser.c: Replace 'add_error' with 'set_error'. Add 'push_back_option', 'push_back_argument', and 'set_argument'. * arg_parser.texi: New section 'Differences with getopt_long'. * New files testsuite/test[1-4].txt. 2025-06-29 Antonio Diaz Diaz * Version 1.20 released. * main.cc, cmain.c: Refactor code to match examples in manual. * arg_parser.texi: New chapters 'Tutorial for the C++ version' and 'Tutorial for the C version'. (Suggested by Mark Galassi). 2025-01-11 Antonio Diaz Diaz * Version 1.19 released. * New value in Has_arg; yme = 'yes but maybe empty'. * carg_parser.h: Use 'typedef' (again) in C version. * arg_parser.texi (Argument syntax): Document opts with empty argument. * check.sh: Use 'cp' instead of 'cat'. 2024-01-20 Antonio Diaz Diaz * Version 1.18 released. * arg_parser.texi (Argument syntax): Reorder, improve descriptions. * configure, Makefile.in: New variable 'MAKEINFO'. 2022-02-05 Antonio Diaz Diaz * Version 1.17 released. * New functions '(ap_)parsed_name' for accurate diagnostics. * main.cc, cmain.c: Test option codes INT_MAX and INT_MIN. 2021-07-18 Antonio Diaz Diaz * Version 1.16 released. * carg_parser.c (ap_init): Fix a memory leak when returning failure. (Reported by Xosé Vázquez Pérez). 2020-06-26 Antonio Diaz Diaz * Version 1.15 released. * Use '!empty()' instead of 'size()' to pacify clang. * main.cc, cmain.c: Set a valid invocation_name even if argc == 0. * arg_parser.texi: Change '@dircategory' to 'Libraries'. 2019-01-01 Antonio Diaz Diaz * Version 1.14 released. * The output of '--help' and the man pages have been expanded. * configure: Accept appending to CFLAGS; 'CFLAGS+=OPTIONS'. * configure: Accept appending to CXXFLAGS; 'CXXFLAGS+=OPTIONS'. 2017-03-19 Antonio Diaz Diaz * Version 1.13 released. * arg_parser.h (Record): Add constructor for non-option arguments. * arg_parser.cc (Arg_parser): Use 'const char *' for non_options. 2016-03-16 Antonio Diaz Diaz * Version 1.12 released. * Change license to "2-clause BSD". * configure: Avoid warning on some shells when testing for gcc. * Makefile.in: Detect the existence of install-info. 2015-03-26 Antonio Diaz Diaz * Version 1.11 released. * arg_parser.texi: C functions have been documented. * Makefile.in: New targets 'install*-compress'. 2014-06-27 Antonio Diaz Diaz * Version 1.10 released. * Change license to "GPL version 2 or later with link exception". 2014-05-26 Antonio Diaz Diaz * Version 1.9 released. * configure: Options now accept a separate argument. * arg_parser.texinfo: Rename to arg_parser.texi. 2013-02-19 Antonio Diaz Diaz * Version 1.8 released. * Makefile.in: New target 'install-bin'. 2012-02-24 Antonio Diaz Diaz * Version 1.7 released. * Minor fixes. * Change quote characters in messages as advised by GNU Standards. * configure: Rename 'datadir' to 'datarootdir'. 2012-01-01 Antonio Diaz Diaz * Version 1.6 released. * Minor fixes. 2011-01-12 Antonio Diaz Diaz * Version 1.5 released. * Minor fixes. * C version: Convert C99 style comments '//' to C89 style '/* */'. * New files testsuite/check.sh, testsuite/test.txt. 2010-03-11 Antonio Diaz Diaz * Version 1.4 released. * carg_parser.h: Remove 'typedef' from C version. * Add link exception to license. * The manual has been improved. * Makefile.in: Add option '--name' to help2man invocation. 2009-07-10 Antonio Diaz Diaz * Version 1.3 released. * carg_parser.c (ap_resize_buffer): Return 'void*' instead of 'char'. 2009-01-15 Antonio Diaz Diaz * Version 1.2 released. * arg_parser.cc (parse_short_option): Rename 'code' to 'c'. * carg_parser.c (ap_resize_buffer): Change 'char**' arg to 'void*'. 2008-02-24 Antonio Diaz Diaz * Version 1.1 released. * Add C version. * Options requiring an argument no longer accept an empty argument. 2007-06-29 Antonio Diaz Diaz * Version 1.0 released. * Update license to "GPL version 3 or later with link exception". 2006-11-04 Antonio Diaz Diaz * Version 0.2 released. * configure: Some fixes. 2006-03-29 Antonio Diaz Diaz * Version 0.1 released. Copyright (C) 2006-2026 Antonio Diaz Diaz. This file is a collection of facts, and thus it is not copyrightable, but just in case, you have unlimited permission to copy, distribute, and modify it.