Skip to content

2.4.0

Compare
Choose a tag to compare
@matejak matejak released this 10 Apr 17:38
· 267 commits to master since this release
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.