Index: llvm/trunk/tools/sancov/sancov.cc =================================================================== --- llvm/trunk/tools/sancov/sancov.cc +++ llvm/trunk/tools/sancov/sancov.cc @@ -96,7 +96,8 @@ static cl::list ClInputFiles(cl::Positional, cl::OneOrMore, - cl::desc("(|<.sancov file>)...")); + cl::desc(" <.sancov files...> " + "<.symcov files...>")); static cl::opt ClDemangle("demangle", cl::init(true), cl::desc("Print demangled function name.")); @@ -1200,7 +1201,17 @@ llvm::InitializeAllTargetMCs(); llvm::InitializeAllDisassemblers(); - cl::ParseCommandLineOptions(Argc, Argv, "Sanitizer Coverage Processing Tool"); + cl::ParseCommandLineOptions(Argc, Argv, + "Sanitizer Coverage Processing Tool (sancov)\n\n" + " This tool can extract various coverage-related information from: \n" + " coverage-instrumented binary files, raw .sancov files and their " + "symbolized .symcov version.\n" + " Depending on chosen action the tool expects different input files:\n" + " -print-coverage-pcs - coverage-instrumented binary files\n" + " -print-coverage - .sancov files\n" + " - .sancov files & corresponding binary " + "files, .symcov files\n" + ); // -print doesn't need object files. if (Action == PrintAction) {