mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-20 11:50:25 +00:00
8172422: jarsigner needs to understand -?
Reviewed-by: mullan
This commit is contained in:
parent
a81e051d75
commit
298bfc1057
@ -485,7 +485,9 @@ public final class Main {
|
||||
|
||||
if (c != null) {
|
||||
command = c;
|
||||
} else if (collator.compare(flags, "-help") == 0) {
|
||||
} else if (collator.compare(flags, "-help") == 0 ||
|
||||
collator.compare(flags, "-h") == 0 ||
|
||||
collator.compare(flags, "-?") == 0) {
|
||||
help = true;
|
||||
} else if (collator.compare(flags, "-conf") == 0) {
|
||||
i++;
|
||||
|
||||
@ -444,6 +444,7 @@ public class Main {
|
||||
} else if (collator.compare(flags, "-strict") ==0) {
|
||||
strict = true;
|
||||
} else if (collator.compare(flags, "-h") == 0 ||
|
||||
collator.compare(flags, "-?") == 0 ||
|
||||
collator.compare(flags, "-help") == 0) {
|
||||
fullusage();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user