Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6324292

keytool -help is unhelpful

XMLWordPrintable

    • b74
    • generic
    • generic

      keytool -help prints out very long usage instructions that are more likely to intimidate users than help them. One suggestion courtesy of ###@###.### was to have "keytool -help" list only the commands (without their options) and then have a "keytool -help command" that lists the details.

      In other words, something roughly like:

      % keytool -help
      Usage:
        keytool <command> <options>

      Valid commands are:
        -certreq, -list, ...

      Type "keytool -help <command>" for more information about a command.
      % keytool -help list
      Usage:
      keytool -list [-v | -rfc] [-protected]
                   [-alias <alias>]
                   [-keystore <keystore>] [-storepass <storepass>]
                   [-storetype <storetype>] [-providername <name>]
                   [-providerclass <provider_class_name> [-providerarg <arg>]] ...
                   [-providerpath <pathlist>]

            weijun Weijun Wang
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: