process_getopt(1) is a wrapper around getopt for bash script developers. It saves you time, reduces the chance for errors and increases the chance that doco is actually written. It is the bash equivalent of RedHat's popt and GNU's argp for C.
This project contains argp.sh which deprecates process_getopt(1).
There is also a 'c' version in case speed ever becomes an issue.