[llvm] 0a35dd7 - [llvm-ar] --help: fix unquoted angle bracket (#101364)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 7 09:12:53 PDT 2025


Author: Linux User
Date: 2025-04-07T17:12:50+01:00
New Revision: 0a35dd7e99596b1a0316bb81bee3c698adaf0a05

URL: https://github.com/llvm/llvm-project/commit/0a35dd7e99596b1a0316bb81bee3c698adaf0a05
DIFF: https://github.com/llvm/llvm-project/commit/0a35dd7e99596b1a0316bb81bee3c698adaf0a05.diff

LOG: [llvm-ar] --help: fix unquoted angle bracket (#101364)

Changes the argument in llvm-ar help message from `-M [<mri-script]` to
`-M [< mri-script]`

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 3b842b76d5c87..ac3824419537a 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -130,7 +130,7 @@ static void printArHelp(StringRef ToolName) {
          << "USAGE: " + ToolName +
                 " [options] [-]<operation>[modifiers] [relpos] "
                 "[count] <archive> [files]\n"
-         << "       " + ToolName + " -M [<mri-script]\n\n";
+         << "       " + ToolName + " -M [< mri-script]\n\n";
 
   outs() << ArOptions;
 }


        


More information about the llvm-commits mailing list