Browse Source

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

Before it was `[file]` that AFAIK means optional.
pull/354/head
Alex Turbov 3 years ago
parent
commit
f4563f05db
  1. 2
      Help/manual/cmake.1.rst
  2. 2
      Source/cmakemain.cxx

2
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.

2
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." },

Loading…
Cancel
Save