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

keytool -help is unhelpful

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b74
    • CPU:
      generic
    • OS:
      generic

      Description

      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>]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: