From 9c3beb532fa9c5c6ee70f269ca77c61ff5bd7ab6 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 11 Jul 2020 23:14:03 +1000 Subject: cmake: Show supported formats in --help output for --profiling-format Fixes: #20943 --- Source/cmakemain.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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=", "Output data for profiling CMake scripts." }, + { "--profiling-format=", + "Output data for profiling CMake scripts. Supported formats: " + "google-trace" }, { "--profiling-output=", "Select an output path for the profiling data enabled through " "--profiling-format." }, -- cgit v0.12