[llvm] [llvm-ar] --help: fix unquoted angle bracket (PR #101364)
Linux User via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 11:26:31 PDT 2024
https://github.com/LinuxUserGD updated https://github.com/llvm/llvm-project/pull/101364
>From 2661e8a4db305159a2976a9116c4e7ac2bab6876 Mon Sep 17 00:00:00 2001
From: LinuxUserGD <hugegameartgd at gmail.com>
Date: Wed, 31 Jul 2024 18:54:11 +0200
Subject: [PATCH 1/3] [llvm-ar]: fix typo in help options
---
llvm/tools/llvm-ar/llvm-ar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 3b842b76d5c870..b4438c56c18885 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;
}
>From 0688eb65605fadd71ff880faeae1d79403eb414d Mon Sep 17 00:00:00 2001
From: LinuxUserGD <hugegameartgd at gmail.com>
Date: Mon, 5 Aug 2024 18:42:44 +0200
Subject: [PATCH 2/3] readd stdin symbol
---
llvm/tools/llvm-ar/llvm-ar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index b4438c56c18885..5debda5183dfc8 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;
}
>From 9cf1f92cd5c56b45dc719d2e7f4d095068d7c344 Mon Sep 17 00:00:00 2001
From: LinuxUserGD <hugegameartgd at gmail.com>
Date: Wed, 7 Aug 2024 20:25:22 +0200
Subject: [PATCH 3/3] update to `-M [< mri-script]`
---
llvm/tools/llvm-ar/llvm-ar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 5debda5183dfc8..ac3824419537a7 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