carta
getopt(1) on OpenBSD
The text 6a412c5a6bb2, as OpenBSD 2.6 shipped it.
parse command options
getopt(1) on OpenBSD now