.addOption(null, "dirname", true, "directory to stream to avro source")
.addOption("R", "headerFile", true, ("file containing headers as " +
"key/value pairs on each new line"))
.addOption("h", "help", false, "display help text");
CommandLineParser parser = new GnuParser();
CommandLine commandLine = parser.parse(options, args);
if (commandLine.hasOption('h')) {
new HelpFormatter().printHelp("flume-ng avro-client", "", options,
"The --dirname option assumes that a spooling directory exists " +
"where immutable log files are dropped.", true);