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") || |