private void printSyntax(Options options) {
        HelpFormatter formatter = new HelpFormatter();
        formatter.printHelp("vespa-visit-target <options>", "Retrieve results from a visitor", options ,
                            "One, and only one, of the binding options must be present.\n" +
                            "\n" +
                            "For more detailed information, such as defaults and format of\n" +
                            "arguments, refer to 'man vespa-visit-target'.\n");
    }
Example client using visiting

@author Einar M R Rosenvinge
vespaclient-java/src/main/java/com/yahoo/vespavisit/VdsVisitTarget.java