summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-13 11:49:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-13 11:49:47 (GMT)
commitaedc5e19f34890192c955059f8d9b742784b4b79 (patch)
treee2b2bbdc71fc2c4ad4fb82793e8aeda6b42875b7
parent6ab08c4e99469439900c1cdc02fd2452ab268a87 (diff)
parent9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6 (diff)
downloadCMake-aedc5e19f34890192c955059f8d9b742784b4b79.zip
CMake-aedc5e19f34890192c955059f8d9b742784b4b79.tar.gz
CMake-aedc5e19f34890192c955059f8d9b742784b4b79.tar.bz2
Merge topic 'supported-profiling-formats' into release-3.18
9c3beb532f cmake: Show supported formats in --help output for --profiling-format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: dublet <github@dublet.org> Merge-request: !5001
-rw-r--r--Source/cmakemain.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index e0c17f8..d662a9a 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -97,7 +97,9 @@ const char* cmDocumentationOptions[][2] = {
"Find problems with variable usage in system "
"files." },
# if !defined(CMAKE_BOOTSTRAP)
- { "--profiling-format=<fmt>", "Output data for profiling CMake scripts." },
+ { "--profiling-format=<fmt>",
+ "Output data for profiling CMake scripts. Supported formats: "
+ "google-trace" },
{ "--profiling-output=<file>",
"Select an output path for the profiling data enabled through "
"--profiling-format." },