Explorar el Código

Help: Value for `--graphviz=` option actually is mandatory

Before it was `[file]` that AFAIK means optional.
Alex Turbov hace 3 años
padre
commit
f4563f05db
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      Help/manual/cmake.1.rst
  2. 1 1
      Source/cmakemain.cxx

+ 1 - 1
Help/manual/cmake.1.rst

@@ -227,7 +227,7 @@ Options
  Only load the cache.  Do not actually run configure and generate
  steps.
 
-.. option:: --graphviz=[file]
+.. option:: --graphviz=<file>
 
  Generate graphviz of dependencies, see :module:`CMakeGraphVizOptions` for more.
 

+ 1 - 1
Source/cmakemain.cxx

@@ -82,7 +82,7 @@ const char* cmDocumentationOptions[][2] = {
   { "-N", "View mode only." },
   { "-P <file>", "Process script mode." },
   { "--find-package", "Legacy pkg-config like mode.  Do not use." },
-  { "--graphviz=[file]",
+  { "--graphviz=<file>",
     "Generate graphviz of dependencies, see "
     "CMakeGraphVizOptions.cmake for more." },
   { "--system-information [file]", "Dump information about this system." },