getopt(1) emulator: Check all getopt_add_{optstring,longopts}() invocations
getopt(1) emulator: Check all getopt_add_{optstring,longopts}() invocations

...and indicate an internal error if they fail.

donkarlos/libdl-sh