jimage --help should be more helpful than it is. It is less helpful than giving an invalid option,
$ /opt/jdk/jake/bin/jimage --help
Error: not a valid task: <unspecified>
$ /opt/jdk/jake/bin/jimage -help
Error: unknown option: -help
Usage: jimage <extract|info|list|set|verify> <options> jimage...
use --help for a list of possible options
$ /opt/jdk/jake/bin/jimage --help
Error: not a valid task: <unspecified>
$ /opt/jdk/jake/bin/jimage --help
Error: not a valid task: <unspecified>
$ /opt/jdk/jake/bin/jimage -help
Error: unknown option: -help
Usage: jimage <extract|info|list|set|verify> <options> jimage...
use --help for a list of possible options
$ /opt/jdk/jake/bin/jimage --help
Error: not a valid task: <unspecified>
- duplicates
-
JDK-8154909 jimage --help prints confusing messages with input args
-
- Closed
-