diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 29ed61d..5f04ea3 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -759,7 +759,8 @@ void cmake::SetArgs(const std::vector<std::string>& args) const auto traceFormat = StringToTraceFormat(arg.substr(strlen("--trace-format="))); if (traceFormat == TraceFormat::TRACE_UNDEFINED) { - cmSystemTools::Error("Invalid format specified for --trace-format"); + cmSystemTools::Error("Invalid format specified for --trace-format. " + "Valid formats are human, json-v1."); return; } this->SetTraceFormat(traceFormat); |