diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 13ae21ce33..c9717acad7 100644 --- a/Help/manual/cmake.1.rst +++ b/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= Generate graphviz of dependencies, see :module:`CMakeGraphVizOptions` for more. diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index f931e9dbcd..c83508b3fe 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -82,7 +82,7 @@ const char* cmDocumentationOptions[][2] = { { "-N", "View mode only." }, { "-P ", "Process script mode." }, { "--find-package", "Legacy pkg-config like mode. Do not use." }, - { "--graphviz=[file]", + { "--graphviz=", "Generate graphviz of dependencies, see " "CMakeGraphVizOptions.cmake for more." }, { "--system-information [file]", "Dump information about this system." },