showtime: print possible options when invalid mode is given.
This commit is contained in:
parent
776e720d8f
commit
c70425c06e
|
@ -677,7 +677,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
|
|||
else {
|
||||
std::string message("cppcheck: error: unrecognized showtime mode: \"");
|
||||
message += showtimeMode;
|
||||
message += "\".";
|
||||
message += "\". Supported modes: file, summary, top5.";
|
||||
PrintMessage(message);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue