Generate command line parser using getopt_long