Changes for version 1.1.0 - 2026-10-27

  • 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

Documentation

Getting started with getoptlong.sh
Option parsing that does what you mean, for Bash

Modules

Bash option parsing that does what you mean