From f4563f05dbf183e0eca6a67c7dfe71c5219a057f Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Thu, 4 Aug 2022 19:02:46 +0400 Subject: [PATCH] Help: Value for `--graphviz=` option actually is mandatory Before it was `[file]` that AFAIK means optional. --- Help/manual/cmake.1.rst | 2 +- Source/cmakemain.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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." },