Releases: matejak/argbash
Releases · matejak/argbash
2.4.0
The main highlight of this version of argbash
is the getopts
feature parity - the generated code is supposed to support all features of getopts
related to short options.
New features:
- Implemented getopts-like behavior (so e.g.
-gIinclude
equals to-g -I include
etc.). - Improved feedback in case of mismatch between expected / received arguments.
Bugfixes:
- Argbash-powered scripts with positional arguments can be sourced consecutively without having to manually perform variable reset.
- Fixed issue #7 with newlines in help strings.
- The
argbash.spec
file has been corrected, so there is a hope that Argbash will make it to Fedora Linux distribution.
2.3.0
New features:
- Behavior that raises an error when a script argument's value looks like option - enabled by the
ARG_RESTRICT_VALUES
.
New minor features:
argbash
provides more useful feedback in case of unmatched square brackets in the inputargbash
in standalone mode now uses the more fresh of the parsing code.sh
or.m4
templates (was undocumented, but the.sh
one was always preferred over the.m4
).
2.2.3
New minor features:
argbash
tries to warn you when it looks like you have made a typo when attempting to use macros.argbash
supports commented mode, when the parsing code is explained in detail
Bugfixes:
- Fixed handling of help messages in case of missing
ARG_HELP
macro
2.2.2
2.2.0
New features:
- KILLER FEATURE: Introduced the
argbash-init
simple template generator. argbash
can read from stdin.ARG_HELP
gains second argument.- Preview (preliminary) support for argument values types (a.k.a. typed arguments)
Bugfixes:
- Improved defaults indications in help messages.
- Overall internal code beautification
2.1.1
2.1.0
Incompatible changes (minor):
argbash
option--standalone
has been renamed to--library
.
New features:
- Support for configuration of argument-value delimiters (space and equal sign are supported -
--some-opt=value
as well as--some-opt value
may work)
Bugfixes:
- Fixed handling of
argbash-xtoy
in Makefiles for tests/packaging. - Added the
die
function to all generated scripts. - Beautification of the underlying code.
- Documentation improvements in the Examples section.
2.0.0
1.4.2
New features:
- Added the
ARGBASH_SET_INDENT
macro for indentation control. - Created scripts are more compliant to the https://www.shellcheck.net/ tool.
- Introduced
argbash-1to2
script for migration to Argbash2
Bugfixes:
- Fixed some errors related to displaying help.
- Fixed spurious default to
ARG_POSITIONAL_INF
. - Fixed handling of empty defaults.
- Fixed broken
Makefile
that prevented (un)installs. (got broken in 1.4.0, fixed in 1.4.1) - Fixed broken
argbash-1to2
script (broken since 1.4.0)