src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java

changeset 1797
019063968164
parent 1747
df4f44800923
child 2169
667843bd2193
equal deleted inserted replaced
1796:242bcad5be74 1797:019063968164
322 option.equals("-nooverview") || 322 option.equals("-nooverview") ||
323 option.equals("-xdoclint") || 323 option.equals("-xdoclint") ||
324 option.startsWith("-xdoclint:")) { 324 option.startsWith("-xdoclint:")) {
325 return 1; 325 return 1;
326 } else if (option.equals("-help")) { 326 } else if (option.equals("-help")) {
327 // Uugh: first, this should not be hidden inside optionLength,
328 // and second, we should not be writing directly to stdout.
329 // But we have no access to a DocErrorReporter, which would
330 // allow use of reporter.printNotice
327 System.out.println(getText("doclet.usage")); 331 System.out.println(getText("doclet.usage"));
332 return 1;
333 } else if (option.equals("-x")) {
334 // Uugh: first, this should not be hidden inside optionLength,
335 // and second, we should not be writing directly to stdout.
336 // But we have no access to a DocErrorReporter, which would
337 // allow use of reporter.printNotice
338 System.out.println(getText("doclet.X.usage"));
328 return 1; 339 return 1;
329 } else if (option.equals("-footer") || 340 } else if (option.equals("-footer") ||
330 option.equals("-header") || 341 option.equals("-header") ||
331 option.equals("-packagesheader") || 342 option.equals("-packagesheader") ||
332 option.equals("-doctitle") || 343 option.equals("-doctitle") ||

mercurial