summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-04 15:02:46 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-04 15:34:45 (GMT)
commitf4563f05dbf183e0eca6a67c7dfe71c5219a057f (patch)
tree3bc87e17e6fef340c20ae5e8a7591875bc3b1496
parent04843d743e08beeb257f6ce781633b2a9647ab07 (diff)
downloadCMake-f4563f05dbf183e0eca6a67c7dfe71c5219a057f.zip
CMake-f4563f05dbf183e0eca6a67c7dfe71c5219a057f.tar.gz
CMake-f4563f05dbf183e0eca6a67c7dfe71c5219a057f.tar.bz2
Help: Value for `--graphviz=` option actually is mandatory
Before it was `[file]` that AFAIK means optional.
-rw-r--r--Help/manual/cmake.1.rst2
-rw-r--r--Source/cmakemain.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 13ae21c..c9717ac 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=<file>
Generate graphviz of dependencies, see :module:`CMakeGraphVizOptions` for more.
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index f931e9d..c83508b 100644
--- a/Source/cmakemain.cxx
+++ b/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." },