diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java index 99e6d0a41a..333721d570 100644 --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java @@ -661,7 +661,7 @@ public boolean process(String opt, List args) { return true; } }, - new Option(resources, "--legal-notices", 1) { + new XOption(resources, "--legal-notices", 1) { @Override public boolean process(String opt, List args) { legalnotices = args.get(0);