summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-07-11 13:14:03 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-07-11 13:14:03 (GMT)
commit9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6 (patch)
treee2b2bbdc71fc2c4ad4fb82793e8aeda6b42875b7
parent6ab08c4e99469439900c1cdc02fd2452ab268a87 (diff)
downloadCMake-9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6.zip
CMake-9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6.tar.gz
CMake-9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6.tar.bz2
cmake: Show supported formats in --help output for --profiling-format
Fixes: #20943
-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." },