Changes for version 1.1.1 - 2026-11-10

  • 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

Documentation

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

Modules

Bash option parsing that does what you mean