protected void printHelp(List<String> errorMessages, PrintStream stream) {
        stream.println(coreBundle.getString("errors"));
        for (String message : errorMessages) {
            stream.println("  " + message);
        }
        stream.println();
    }
protected void printHelp(List<String> errorMessages, PrintStream stream) {
        stream.println(coreBundle.getString("errors"));
        for (String message : errorMessages) {
            stream.println("  " + message);
        }
        stream.println();
    }
protected void printHelp ( List < String > errorMessages , PrintStream stream ) { stream . println ( coreBundle . getString ( "errors" ) ) ; for ( String message : errorMessages ) { stream . println ( "  " + message ) ; } stream . println ( ) ; }
If any errors have been found, print the list of errors first, then print the command line help text.

@param errorMessages List of error messages
@param stream        the output stream to write the text to
If any errors have been found print the list of errors first then print the command line help text .