llvm-profdata: Clarify the top level help
authorJustin Bogner <mail@justinbogner.com>
Wed, 3 Aug 2016 23:10:51 +0000 (23:10 +0000)
committerJustin 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

index aec689b..d5c05da 100644 (file)
@@ -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;
     }