projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbf57d
)
llvm-profdata: Clarify the top level help
author
Justin Bogner
<mail@justinbogner.com>
Wed, 3 Aug 2016 23:10:51 +0000
(23:10 +0000)
committer
Justin Bogner
<mail@justinbogner.com>
Wed, 3 Aug 2016 23:10:51 +0000
(23:10 +0000)
It wasn't very obvious that you're supposed to call help on the
subcommands. This should help.
llvm-svn: 277678
llvm/tools/llvm-profdata/llvm-profdata.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-profdata/llvm-profdata.cpp
b/llvm/tools/llvm-profdata/llvm-profdata.cpp
index
aec689b
..
d5c05da
100644
(file)
--- a/
llvm/tools/llvm-profdata/llvm-profdata.cpp
+++ b/
llvm/tools/llvm-profdata/llvm-profdata.cpp
@@
-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;
}