Skip to content

Releases: ko1nksm/getoptions

v3.3.2

18 Aug 06:41
Compare
Choose a tag to compare
  • Fixed
    • Fixes Makefile
    • Fixes -f- not to be interpreted as -f --
    • Fixes -f-flag not to be interpreted as -f --flag

v3.3.1

29 Jul 15:26
Compare
Choose a tag to compare

Fixed

  • Fixes for Schily Bourne Shell (bosh/pbosh 2023/01/12).
  • Fixed broken --shellcheck
  • Minor fixes for old yash (POSIXly-correct mode).

Changed

  • gengetoptions: Hide the -d (--definition) option.

v3.3.0

02 May 13:17
Compare
Choose a tag to compare

Added

  • getoptions: Make the parser name optional
  • Support installation via Homebrew

v3.2.0

29 Apr 16:24
Compare
Choose a tag to compare

Added

  • Added the feature to parse options directly by default parser name

v3.1.0

29 Apr 02:24
Compare
Choose a tag to compare

Added

  • gengetoptions: Added embed subcommand.

Changed

  • gengetoptions: Deprecate the -d (--definition) option.

v3.0.0

26 Apr 12:32
Compare
Choose a tag to compare

Added

  • Added support for --with-* and --without-* options.
    • #20: Thanks to Cem Keylan.
  • Added new option parser generator gengetoptions.
  • Added build system.
  • Added support for handling of missing commands (eval "$(getoptions ...) exit 1").

Changed

  • Changed Attribute off to no. [breaking change]
  • Changed initial value @off to @no. [breaking change]
  • Renamed lin/getoptions.sh to lin/getoptions_base.sh. [breaking change]
  • Moved library generation feature of getoptions to gengetoptions [breaking change]

Removed

  • Removed incomplete scanning modes =, #. [breaking change]
  • Removed getoptions-cli and replaced it with gengetoptions. [breaking change]

v2.5.1

10 Jan 04:58
Compare
Choose a tag to compare

Changed

  • Add SC2034 to shellcheck directive in generated code

Fixed

  • Fixed a bug that omitting the value of key-value would be an incorrect value.
  • Fix handling of unknown short options in mode = and #.

v2.5.0

13 Dec 05:38
Compare
Choose a tag to compare

Added

  • Added some options for /bin/getoptions.
  • Added scanning modes =, #, @.

v2.4.0

27 Nov 15:47
Compare
Choose a tag to compare

Added

  • Added new /bin/getoptions (external command version for getoptions).

Changed

  • Renamed previous /bin/getoptions to /bin/getoptions-cli.

v2.3.0

17 Nov 13:03
Compare
Choose a tag to compare
  • 2.3.0 - 2020-11-17
    • Added getoptions CLI (generator).
    • Fixed a bug that omitting the value of key-value would be an incorrect value.