if(cli.hasOption(ARG_NARRATIVE_PATH)) {
_narrativeService.setLogPath(cli.getOptionValue(ARG_NARRATIVE_PATH));
}
if (cli.hasOption(ARG_TRIP_UPDATES_PATH)) {
TripUpdatesFileWriter writer = injector.getInstance(TripUpdatesFileWriter.class);
writer.setPath(new File(cli.getOptionValue(ARG_TRIP_UPDATES_PATH)));
}
if (cli.hasOption(ARG_TRIP_UPDATES_URL)) {
TripUpdatesServlet servlet = injector.getInstance(TripUpdatesServlet.class);
servlet.setUrl(new URL(cli.getOptionValue(ARG_TRIP_UPDATES_URL)));
}