summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-04 16:02:54 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-04 16:02:54 (GMT)
commitc0e4a0bd8272b93edc518835e88e0bed37664287 (patch)
tree0db18e3d79f32f44ee4a6d04e05e5097d05960ad /Source
parent5becf28f9230eb70e4181b4aa669297781e7f6b1 (diff)
downloadCMake-c0e4a0bd8272b93edc518835e88e0bed37664287.zip
CMake-c0e4a0bd8272b93edc518835e88e0bed37664287.tar.gz
CMake-c0e4a0bd8272b93edc518835e88e0bed37664287.tar.bz2
cmake: Update --help output to discourage use of --find-package mode
Fixes: #21056
Diffstat (limited to 'Source')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 7c66c5c..4600fc5 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -71,7 +71,7 @@ const char* cmDocumentationOptions[][2] = {
{ "--open <dir>", "Open generated project in the associated application." },
{ "-N", "View mode only." },
{ "-P <file>", "Process script mode." },
- { "--find-package", "Run in pkg-config like mode." },
+ { "--find-package", "Legacy pkg-config like mode. Do not use." },
{ "--graphviz=[file]",
"Generate graphviz of dependencies, see "
"CMakeGraphVizOptions.cmake for more." },