private Boolean getBoolean(String arg) {
        if (arg.equalsIgnoreCase("yes")) {
            return true;
        } else if (arg.equalsIgnoreCase("no")) {
            return false;
        } else {
            return Boolean.parseBoolean(arg);
        }
    }
Argument parsing class for the vespa feeder.
vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java