Add command line options with GNU getopt.