From: Jean Privat Date: Wed, 21 Oct 2015 12:57:01 +0000 (-0400) Subject: nitdoc: cleanup and synchronize nitdoc options from #1771 X-Git-Tag: v0.7.9~13^2~1 X-Git-Url: http://nitlanguage.org?ds=sidebyside nitdoc: cleanup and synchronize nitdoc options from #1771 Signed-off-by: Jean Privat --- diff --git a/share/man/nitdoc.md b/share/man/nitdoc.md index d30caf8..cd5472a 100644 --- a/share/man/nitdoc.md +++ b/share/man/nitdoc.md @@ -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 diff --git a/src/doc/doc_phases/doc_html.nit b/src/doc/doc_phases/doc_html.nit index c120b0a..623b241 100644 --- a/src/doc/doc_phases/doc_html.nit +++ b/src/doc/doc_phases/doc_html.nit @@ -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 diff --git a/src/doc/doc_phases/doc_test.nit b/src/doc/doc_phases/doc_test.nit index ddb5eb7..4d68d2a 100644 --- a/src/doc/doc_phases/doc_test.nit +++ b/src/doc/doc_phases/doc_test.nit @@ -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