Revision history for Getopt-Long-Bash

1.2.0 2026-11-16T09:05:11Z

    - --no- with an option which takes an optional argument (?) unsets
      the variable, as when the option is not specified.  It gave the
      empty string, the same as the option without a value.  A value
      assigned to the variable before the options are parsed works as
      a default, which --no- removes.  A callback of such an option
      has to use ${var-} under set -u

1.1.1 2026-11-10T10:47:07Z

    - Pass-through keeps a value as one element: it was split at
      spaces and expanded as a file name pattern
    - Pass-through passes the value of an optional argument, in the
      form of "--option=value": it was dropped

1.1.0 2026-10-27T09:18:40Z

    - Auto-initialize only when getoptlong.sh is sourced as a file, so
      that the code embedded in a script does not take the script's
      first argument for an options array, and document how to embed it
    - Source the library with "-" in the multi-step examples

1.0.0 2026-08-27T14:22:49Z

    - Require bash 4.4 or later, and report the required version when
      running on an older bash

0.8.1 2026-03-30T17:04:10Z

    - Document negative alias feature and getoptlong version subcommand

0.8.0 2026-03-09T07:53:38Z

    - Add negative alias (~) for option negation (short and long)
    - Show deny aliases with ~/~~ prefix in help output

0.7.2 2026-02-11T09:40:06Z

    - Fix numeric comparison bug in permute loop (string > vs -gt)
    - Add permute mode tests

0.7.1 2026-01-17T02:19:55Z

    - Fix callback function naming for hyphenated options (list-themes calls list_themes)

0.7.0 2025-12-30T12:52:21Z

    - Fix passthru negation with short option aliases (--no-v was becoming -v)

0.6.0 2025-12-24T07:22:23Z

    - Allow whitespace around mark character keys for alignment
    - Improve documentation with clearer examples
    - Update Tutorial with spaced option definition format

0.5.0 2025-12-23T12:10:40Z

    - Initial CPAN release
    - Bash library for Getopt::Long-like option parsing
