Option versionOption = new Option("v", "version", false, "print version information");
Option serverURLOption = new Option("s", "serverURL", true,
"URL of Sesame server to connect to, e.g. http://localhost/openrdf-sesame/");
Option dirOption = new Option("d", "dataDir", true, "Sesame data dir to 'connect' to");
options.addOption(helpOption);
options.addOption(versionOption);
OptionGroup connectGroup = new OptionGroup();
connectGroup.addOption(serverURLOption);
connectGroup.addOption(dirOption);