modules/jretools/src/main/java/org/apache/harmony/jretools/keytool/HelpPrinter.java [85:130]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static void printHelp() {
        if (message == null) {
            message = new StringBuffer();
            String tab = "\t";
            String doubleTab = "\t\t";
            String tripleTab = "\t\t\t";
            message.append("\nKeytool usage:\n");
            message.append("keytool {-<command_name>} {-<command_option>}"
                    + " {<option_value>}... -J<java_option>\n\n");
            message.append("Known commands:\n");
            message.append(tab + certReq + doubleTab
                    + "Generate certificate request\n");
            message.append(tab + checkCRL + doubleTab
                    + "Check certificates revocation status\n");
            message.append(tab + convert + doubleTab
                    + "Convert keystore to another format\n");
            message.append(tab + delete + tripleTab
                    + "Remove entry from keystore\n");
            message.append(tab + export + tripleTab
                    + "Export certificate to a file or stdout\n");
            message.append(tab + genKey + tripleTab
                    + "Secret key or key pair generation\n");
            message.append(tab + help + tripleTab
                    + "This help message or help on a command\n");
            message.append(tab + sImport + tripleTab
                    + "Import a certificate (chain) or a CSR reply\n");
            message.append(tab + keyClone + doubleTab
                    + "Duplicate a key entry\n");
            message.append(tab + keyPasswd + doubleTab
                    + "Change key password\n");
            message.append(tab + printCert + doubleTab
                    + "Print to stdout a certificate from file\n");
            message.append(tab + selfCert + doubleTab
                    + "Generate a self-signed certificate "
                    + "with existing key\n");
            message.append(tab + storePasswd + doubleTab
                    + "Change keystore password\n");
            message.append(tab + verify + tripleTab
                    + "Verify a certificate chain\n");

            message.append("\nHelp usage:\n");
            message.append("keytool -help {<command_name>}\n");
            message.append("E.g.:\t keytool -help genkey\n");
        }
        System.out.println(message);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



modules/jdktools/src/main/java/org/apache/harmony/tools/keytool/HelpPrinter.java [85:130]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static void printHelp() {
        if (message == null) {
            message = new StringBuffer();
            String tab = "\t";
            String doubleTab = "\t\t";
            String tripleTab = "\t\t\t";
            message.append("\nKeytool usage:\n");
            message.append("keytool {-<command_name>} {-<command_option>}"
                    + " {<option_value>}... -J<java_option>\n\n");
            message.append("Known commands:\n");
            message.append(tab + certReq + doubleTab
                    + "Generate certificate request\n");
            message.append(tab + checkCRL + doubleTab
                    + "Check certificates revocation status\n");
            message.append(tab + convert + doubleTab
                    + "Convert keystore to another format\n");
            message.append(tab + delete + tripleTab
                    + "Remove entry from keystore\n");
            message.append(tab + export + tripleTab
                    + "Export certificate to a file or stdout\n");
            message.append(tab + genKey + tripleTab
                    + "Secret key or key pair generation\n");
            message.append(tab + help + tripleTab
                    + "This help message or help on a command\n");
            message.append(tab + sImport + tripleTab
                    + "Import a certificate (chain) or a CSR reply\n");
            message.append(tab + keyClone + doubleTab
                    + "Duplicate a key entry\n");
            message.append(tab + keyPasswd + doubleTab
                    + "Change key password\n");
            message.append(tab + printCert + doubleTab
                    + "Print to stdout a certificate from file\n");
            message.append(tab + selfCert + doubleTab
                    + "Generate a self-signed certificate "
                    + "with existing key\n");
            message.append(tab + storePasswd + doubleTab
                    + "Change keystore password\n");
            message.append(tab + verify + tripleTab
                    + "Verify a certificate chain\n");

            message.append("\nHelp usage:\n");
            message.append("keytool -help {<command_name>}\n");
            message.append("E.g.:\t keytool -help genkey\n");
        }
        System.out.println(message);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



