Parcourir la source

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

Andy Cedilnik il y a 21 ans
Parent
commit
04016278c6
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  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."},
    "If a file is specified, the copyright is written into it."},
   {"--help", "Print usage information and exit.",
   {"--help", "Print usage information and exit.",
    "Usage describes the basic command line interface and its options."},
    "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.",
   {"--help-full [file]", "Print full help and exit.",
    "Full help displays most of the documentation provided by the UNIX "
    "Full help displays most of the documentation provided by the UNIX "
    "man page.  It is provided for use on non-UNIX platforms, but is "
    "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."},
    "each variable."},
   {"-N", "View mode only.",
   {"-N", "View mode only.",
    "Only load the cache. Do not actually run configure and generate steps."},
    "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}
   {0,0,0}
 };
 };