diff -r 7a4fd1076b15 -r 242bcad5be74 src/share/classes/com/sun/tools/doclint/resources/doclint.properties --- a/src/share/classes/com/sun/tools/doclint/resources/doclint.properties Mon Jun 03 16:56:54 2013 -0700 +++ b/src/share/classes/com/sun/tools/doclint/resources/doclint.properties Mon Jun 03 17:09:26 2013 -0700 @@ -67,3 +67,50 @@ dc.tag.start.unmatched = end tag missing: dc.tag.unknown = unknown tag: {0} dc.text.not.allowed = text not allowed in <{0}> element + +dc.main.ioerror=IO error: {0} +dc.main.no.files.given=No files given +dc.main.usage=\ +Usage:\n\ +\ doclint [options] source-files...\n\ +\n\ +Options:\n\ +\ -Xmsgs \n\ +\ Same as -Xmsgs:all\n\ +\ -Xmsgs:values\n\ +\ Specify categories of issues to be checked, where ''values''\n\ +\ is a comma-separated list of any of the following:\n\ +\ reference show places where comments contain incorrect\n\ +\ references to Java source code elements\n\ +\ syntax show basic syntax errors within comments\n\ +\ html show issues with HTML tags and attributes\n\ +\ accessibility show issues for accessibility\n\ +\ missing show issues with missing documentation\n\ +\ all all of the above\n\ +\ Precede a value with ''-'' to negate it\n\ +\ Categories may be qualified by one of:\n\ +\ /public /protected /package /private\n\ +\ For positive categories (not beginning with ''-'')\n\ +\ the qualifier applies to that access level and above.\n\ +\ For negative categories (beginning with ''-'')\n\ +\ the qualifier applies to that access level and below.\n\ +\ If a qualifier is missing, the category applies to\n\ +\ all access levels.\n\ +\ For example, -Xmsgs:all,-syntax/private\n\ +\ This will enable all messages, except syntax errors\n\ +\ in the doc comments of private methods.\n\ +\ If no -Xmsgs options are provided, the default is\n\ +\ equivalent to -Xmsgs:all/protected, meaning that\n\ +\ all messages are reported for protected and public\n\ +\ declarations only. \n\ +\ -stats\n\ +\ Report statistics on the reported issues.\n\ +\ -h -help --help -usage -?\n\ +\ Show this message.\n\ +\n\ +The following javac options are also supported\n\ +\ -bootclasspath, -classpath, -sourcepath, -Xmaxerrs, -Xmaxwarns\n\ +\n\ +To run doclint on part of a project, put the compiled classes for your\n\ +project on the classpath (or bootclasspath), then specify the source files\n\ +to be checked on the command line.