8218888: keytool -genkeypair should not have the -destalias option
Reviewed-by: mullan
--- a/src/java.base/share/classes/sun/security/tools/keytool/Main.java Wed Feb 13 07:22:09 2019 -0500
+++ b/src/java.base/share/classes/sun/security/tools/keytool/Main.java Wed Feb 13 21:24:13 2019 +0800
@@ -211,7 +211,7 @@
STORETYPE, PROVIDERNAME, ADDPROVIDER, PROVIDERCLASS,
PROVIDERPATH, V, PROTECTED),
GENKEYPAIR("Generates.a.key.pair",
- ALIAS, KEYALG, KEYSIZE, CURVENAME, SIGALG, DESTALIAS, DNAME,
+ ALIAS, KEYALG, KEYSIZE, CURVENAME, SIGALG, DNAME,
STARTDATE, EXT, VALIDITY, KEYPASS, KEYSTORE,
STOREPASS, STORETYPE, PROVIDERNAME, ADDPROVIDER,
PROVIDERCLASS, PROVIDERPATH, V, PROTECTED),