1.1 --- a/src/share/classes/com/sun/tools/doclint/resources/doclint.properties Mon Jun 03 16:56:54 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclint/resources/doclint.properties Mon Jun 03 17:09:26 2013 -0700 1.3 @@ -67,3 +67,50 @@ 1.4 dc.tag.start.unmatched = end tag missing: </{0}> 1.5 dc.tag.unknown = unknown tag: {0} 1.6 dc.text.not.allowed = text not allowed in <{0}> element 1.7 + 1.8 +dc.main.ioerror=IO error: {0} 1.9 +dc.main.no.files.given=No files given 1.10 +dc.main.usage=\ 1.11 +Usage:\n\ 1.12 +\ doclint [options] source-files...\n\ 1.13 +\n\ 1.14 +Options:\n\ 1.15 +\ -Xmsgs \n\ 1.16 +\ Same as -Xmsgs:all\n\ 1.17 +\ -Xmsgs:values\n\ 1.18 +\ Specify categories of issues to be checked, where ''values''\n\ 1.19 +\ is a comma-separated list of any of the following:\n\ 1.20 +\ reference show places where comments contain incorrect\n\ 1.21 +\ references to Java source code elements\n\ 1.22 +\ syntax show basic syntax errors within comments\n\ 1.23 +\ html show issues with HTML tags and attributes\n\ 1.24 +\ accessibility show issues for accessibility\n\ 1.25 +\ missing show issues with missing documentation\n\ 1.26 +\ all all of the above\n\ 1.27 +\ Precede a value with ''-'' to negate it\n\ 1.28 +\ Categories may be qualified by one of:\n\ 1.29 +\ /public /protected /package /private\n\ 1.30 +\ For positive categories (not beginning with ''-'')\n\ 1.31 +\ the qualifier applies to that access level and above.\n\ 1.32 +\ For negative categories (beginning with ''-'')\n\ 1.33 +\ the qualifier applies to that access level and below.\n\ 1.34 +\ If a qualifier is missing, the category applies to\n\ 1.35 +\ all access levels.\n\ 1.36 +\ For example, -Xmsgs:all,-syntax/private\n\ 1.37 +\ This will enable all messages, except syntax errors\n\ 1.38 +\ in the doc comments of private methods.\n\ 1.39 +\ If no -Xmsgs options are provided, the default is\n\ 1.40 +\ equivalent to -Xmsgs:all/protected, meaning that\n\ 1.41 +\ all messages are reported for protected and public\n\ 1.42 +\ declarations only. \n\ 1.43 +\ -stats\n\ 1.44 +\ Report statistics on the reported issues.\n\ 1.45 +\ -h -help --help -usage -?\n\ 1.46 +\ Show this message.\n\ 1.47 +\n\ 1.48 +The following javac options are also supported\n\ 1.49 +\ -bootclasspath, -classpath, -sourcepath, -Xmaxerrs, -Xmaxwarns\n\ 1.50 +\n\ 1.51 +To run doclint on part of a project, put the compiled classes for your\n\ 1.52 +project on the classpath (or bootclasspath), then specify the source files\n\ 1.53 +to be checked on the command line.