.withDescription("the url to dump").create("url");
options.addOption(helpOpts);
options.addOption(webGraphOpts);
options.addOption(urlOpts);
CommandLineParser parser = new GnuParser();
try {
// command line must take a webgraphdb and a url
CommandLine line = parser.parse(options, args);
if (line.hasOption("help") || !line.hasOption("webgraphdb")
|| !line.hasOption("url")) {
HelpFormatter formatter = new HelpFormatter();
formatter.printHelp("WebGraphReader", options);
return;