getopt(3) like library with a number of enhancements
