}
private boolean parseCommandLine(String[] args) throws ParseException {
Options options = new Options();
options.addOption("p", "port", true, "port of the avro source")
.addOption("H", "host", true, "hostname of the avro source")
.addOption("F", "filename", true, "file to stream to avro source")
.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"))