[llvm] r277678 - llvm-profdata: Clarify the top level help
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 3 16:10:51 PDT 2016
Author: bogner
Date: Wed Aug 3 18:10:51 2016
New Revision: 277678
URL: http://llvm.org/viewvc/llvm-project?rev=277678&view=rev
Log:
llvm-profdata: Clarify the top level help
It wasn't very obvious that you're supposed to call help on the
subcommands. This should help.
Modified:
llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
Modified: llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp?rev=277678&r1=277677&r2=277678&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp (original)
+++ llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp Wed Aug 3 18:10:51 2016
@@ -665,6 +665,7 @@ int main(int argc, const char *argv[]) {
errs() << "OVERVIEW: LLVM profile data tools\n\n"
<< "USAGE: " << ProgName << " <command> [args...]\n"
<< "USAGE: " << ProgName << " <command> -help\n\n"
+ << "See each individual command --help for more details.\n"
<< "Available commands: merge, show\n";
return 0;
}
More information about the llvm-commits
mailing list