Procházet zdrojové kódy

ENH: Add help for cmake -E

Andy Cedilnik před 22 roky
rodič
revize
967d1b4c6f
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Source/cmakemain.cxx

+ 4 - 0
Source/cmakemain.cxx

@@ -53,6 +53,10 @@ static const cmDocumentationEntry cmDocumentationDescription[] =
 static const cmDocumentationEntry cmDocumentationOptions[] =
 static const cmDocumentationEntry cmDocumentationOptions[] =
 {
 {
   CMAKE_STANDARD_OPTIONS_TABLE,
   CMAKE_STANDARD_OPTIONS_TABLE,
+  {"-E", "CMake command mode.",
+   "For true platform independence, CMake provides a list of commands "
+   "that can be used on all systems. Run with -E help for the usage "
+   "information."},
   {"-i", "Run in wizard mode.",
   {"-i", "Run in wizard mode.",
    "Wizard mode runs cmake interactively without a GUI.  The user is "
    "Wizard mode runs cmake interactively without a GUI.  The user is "
    "prompted to answer questions about the project configuration.  "
    "prompted to answer questions about the project configuration.  "