fix up my mis-interpretation of getopt_long