Changes for version 1.3.0 - 2026-11-17
- An option which takes an optional argument (?) can have an initial value, which was an error. It is the default: the variable has it when the option is not specified, and --no- unsets the variable
Documentation
Getting started with getoptlong.sh
Option parsing that does what you mean, for Bash
Modules
Bash option parsing that does what you mean