Releases: mbits-libs/args
Releases · mbits-libs/args
0.12.3: Compilation issues on various platforms
New features:
There was a de-seventeen-ification atempt, which was scrapped, except for:
simple_span
, which replaced thestd::array
used with CTAD.converter<char const*>
andconverter<char*>
are now as invalid as thestd::string_view
versionaction_base::names_
vector is now pre-allocated for the incoming name list
Bugfixes:
- Apple Clang gets the same compilation flags as Clang, or to be exact, it does not get GCC-specific ones.
- Apple Clang
libc++
does not sneak<errno.h>
, it is now added to allow compilation - MSVC 16.4.4 adds
__cpp_impl_three_way_comparison
, but cannot compile automatic<=>
without verbose inclusion of<compare>
header (while later version don't); single instance of this operator was removed for now. - MSVC 16.4.4 does not sneak
<algorithm>
, it is now added, sostd::max
can compile.
Conan:
This is first version available on conan-center
repo, as mbits-args/0.12.3
.
0.12.1: Add support for a shared library
New CMake variable, LIBARGS_SHARED
, will build libargs.so
and args.dll
instead of libargs.a
and args.lib
, respectively (except, of course, args.dll
will also produce args.lib
).
0.12.0: Support for @answer-files
New feature:
- support for
@answer-file
s
Fix:
- change getter from
parser::provide_help()
toprovides_help()
0.11.0: Enums and UTF-8
Small update of library functionality.
New features:
- support for
enum
s as destination for an argument value - support for equal sign, as in
--argument=value
Fixes:
- Using UTF8 length instead of
strlen
, for better alignment of--help
text. - Various small fixes for Windows / MSVC
0.10.0: First actual realease
Small library for program argument parser, inspired by Python's argparse
, for C++17/20.
- automatic
-h
/--help
support - positional arguments
- arguments with and without value
- custom arguments with a callback
- printer aware of terminal width