nitdoc: cleanup and synchronize nitdoc options from #1771
authorJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 12:57:01 +0000 (08:57 -0400)
committerJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 15:09:53 +0000 (11:09 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

share/man/nitdoc.md
src/doc/doc_phases/doc_html.nit
src/doc/doc_phases/doc_test.nit

index d30caf8..cd5472a 100644 (file)
@@ -109,7 +109,10 @@ Piwik site ID.
 ## TESTING
 
 ### `--test`
-Only print the pages structure. Nothing is generated.
+Print test data (metrics and structure).
+
+### `--no-render`
+Do not render HTML files.
 
 # SEE ALSO
 
index c120b0a..623b241 100644 (file)
@@ -71,7 +71,7 @@ redef class ToolContext
        var opt_github_gitdir = new OptionString("Git working directory used to resolve path name (ex: /home/me/mypackage/)", "--github-gitdir")
 
        # Do not produce HTML files
-       var opt_no_render = new OptionBool("do not render HTML files", "--no-render")
+       var opt_no_render = new OptionBool("Do not render HTML files", "--no-render")
 
        redef init do
                super
index ddb5eb7..4d68d2a 100644 (file)
@@ -23,7 +23,7 @@ import counter
 redef class ToolContext
 
        # File pattern used to link documentation to source code.
-       var opt_test = new OptionBool("print test data", "--test")
+       var opt_test = new OptionBool("Print test data (metrics and structure)", "--test")
 
        redef init do
                super