argp.sh
argp for bash (wrapper for getopt)
...Automatic help and man mpage production is provided as well as generating the code for getopt(1). Requires bash-3+. See also argp.c which is a much faster version of this in case speed is ever an issue. Note that argp.sh deprecates and replaces the older 'process_getopt' project.