options.addOption("h",false,"print this message");
options.addOption("v",false,"print version information");
OptionGroup outputOptions = new OptionGroup();
Option stdxml = new Option("x",false,"convert FITS output to a standard metadata schema");
Option combinedStd = new Option("xc",false,"output using a standard metadata schema and include FITS xml");
outputOptions.addOption(stdxml);
outputOptions.addOption(combinedStd);
options.addOptionGroup(outputOptions);
CommandLineParser parser = new GnuParser();
CommandLine cmd = parser.parse(options, args);