[llvm] 2828328 - llvm-reduce: Link to command guide in help like bugpoint does (#134810)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 21:11:22 PDT 2025


Author: Matt Arsenault
Date: 2025-04-10T06:11:19+02:00
New Revision: 2828328611089481d6ebd2e148791d9729117a8a

URL: https://github.com/llvm/llvm-project/commit/2828328611089481d6ebd2e148791d9729117a8a
DIFF: https://github.com/llvm/llvm-project/commit/2828328611089481d6ebd2e148791d9729117a8a.diff

LOG: llvm-reduce: Link to command guide in help like bugpoint does (#134810)

Added: 
    

Modified: 
    llvm/tools/llvm-reduce/llvm-reduce.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-reduce/llvm-reduce.cpp b/llvm/tools/llvm-reduce/llvm-reduce.cpp
index aa4dd403455b6..bb7e17300b8ed 100644
--- a/llvm/tools/llvm-reduce/llvm-reduce.cpp
+++ b/llvm/tools/llvm-reduce/llvm-reduce.cpp
@@ -141,7 +141,11 @@ int main(int Argc, char **Argv) {
   const StringRef ToolName(Argv[0]);
 
   cl::HideUnrelatedOptions({&LLVMReduceOptions, &getColorCategory()});
-  cl::ParseCommandLineOptions(Argc, Argv, "LLVM automatic testcase reducer.\n");
+  cl::ParseCommandLineOptions(
+      Argc, Argv,
+      "LLVM automatic testcase reducer.\n"
+      "See https://llvm.org/docs/CommandGuide/llvm-reduce.html for more "
+      "information.\n");
 
   if (Argc == 1) {
     cl::PrintHelpMessage();


        


More information about the llvm-commits mailing list