United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6324292 keytool -help is unhelpful
JDK-6324292 : keytool -help is unhelpful

Details
Type:
Bug
Submit Date:
2005-09-15
Status:
Resolved
Updated Date:
2010-11-04
Project Name:
JDK
Resolved Date:
2009-10-09
Component:
security-libs
OS:
generic
Sub-Component:
java.security
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

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

                                    

Comments
EVALUATION

nice one for starters
                                     
2005-11-16
EVALUATION

http://hg.openjdk.java.net/jdk7/tl/jdk/rev/527ad9cbc9cf
                                     
2009-10-02



Hardware and Software, Engineered to Work Together