Skip to content

[llvm-debuginfod-find] Fix help text regression #110752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,15 @@ static void parseArgs(int argc, char **argv) {
});

if (Args.hasArg(OPT_help)) {
Tbl.printHelp(llvm::outs(),
"llvm-debuginfod-find [options] <input build_id>",
ToolName.str().c_str());
Tbl.printHelp(
llvm::outs(), "llvm-debuginfod-find [options] <input build_id>",
"llvm-debuginfod-find: Fetch debuginfod artifacts\n\n"
"This program is a frontend to the debuginfod client library. The "
"cache directory, request timeout (in seconds), and debuginfod server "
"urls are set by these environment variables:\n"
"DEBUGINFOD_CACHE_PATH (default set by sys::path::cache_directory)\n"
"DEBUGINFOD_TIMEOUT (defaults to 90s)\n"
"DEBUGINFOD_URLS=[comma separated URLs] (defaults to empty)");
std::exit(0);
}

Expand Down
Loading