[llvm] [tools][llvm-cat] Fix typo in the Input file name option (PR #108294)

Amr Hesham via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 14:21:14 PDT 2024


https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/108294

Current usage printed by llvm-cat

`USAGE: llvm-cat [options] <input  files>`

Should be changed to 

`USAGE: llvm-cat [options] <input files>`

>From 0a205f16f1e4afc0372ab73f2cb2b2b540d49a82 Mon Sep 17 00:00:00 2001
From: AmrDeveloper <amr96 at programmer.net>
Date: Wed, 11 Sep 2024 23:18:34 +0200
Subject: [PATCH] [tools] Fix typo in Input file name option in llvm-cat

---
 llvm/tools/llvm-cat/llvm-cat.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/tools/llvm-cat/llvm-cat.cpp b/llvm/tools/llvm-cat/llvm-cat.cpp
index 039f63ad9465fb..f19f66d5621654 100644
--- a/llvm/tools/llvm-cat/llvm-cat.cpp
+++ b/llvm/tools/llvm-cat/llvm-cat.cpp
@@ -44,7 +44,7 @@ static cl::opt<std::string> OutputFilename("o", cl::Required,
                                            cl::cat(CatCategory));
 
 static cl::list<std::string> InputFilenames(cl::Positional,
-                                            cl::desc("<input  files>"),
+                                            cl::desc("<input files>"),
                                             cl::cat(CatCategory));
 
 int main(int argc, char **argv) {



More information about the llvm-commits mailing list