瀏覽代碼

BUG: Move documentation so that it does not apear in ctest

Andy Cedilnik 21 年之前
父節點
當前提交
04016278c6
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 0 6
      Source/cmDocumentation.cxx
  2. 6 0
      Source/cmakemain.cxx

+ 0 - 6
Source/cmDocumentation.cxx

@@ -25,12 +25,6 @@ static const cmDocumentationEntry cmDocumentationStandardOptions[] =
    "If a file is specified, the copyright is written into it."},
   {"--help", "Print usage information and exit.",
    "Usage describes the basic command line interface and its options."},
-  {"--help-command cmd [file]", "Print help for a single command and exit.",
-   "Full documentation specific to the given command is displayed."},
-  {"--help-command-list [file]", "List available listfile commands and exit.",
-   "The list contains all commands for which help may be obtained by using "
-   "the --help-command argument followed by a command name.  If a file is "
-   "specified, the help is written into it."},
   {"--help-full [file]", "Print full help and exit.",
    "Full help displays most of the documentation provided by the UNIX "
    "man page.  It is provided for use on non-UNIX platforms, but is "

+ 6 - 0
Source/cmakemain.cxx

@@ -72,6 +72,12 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
    "each variable."},
   {"-N", "View mode only.",
    "Only load the cache. Do not actually run configure and generate steps."},
+  {"--help-command cmd [file]", "Print help for a single command and exit.",
+   "Full documentation specific to the given command is displayed."},
+  {"--help-command-list [file]", "List available listfile commands and exit.",
+   "The list contains all commands for which help may be obtained by using "
+   "the --help-command argument followed by a command name.  If a file is "
+   "specified, the help is written into it."},
   {0,0,0}
 };