aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-06-05 01:07:50 -0700
committerFangrui Song <i@maskray.me>2022-06-05 01:07:51 -0700
commit95a134254a403750ddfee7c056efdf2359a7dc8c (patch)
treec8dd0df169da0845ecf7192873d9049295270ba7 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parentd86a206f06a51c12a9fcf2c20199f4e819751c0c (diff)
downloadllvm-95a134254a403750ddfee7c056efdf2359a7dc8c.zip
llvm-95a134254a403750ddfee7c056efdf2359a7dc8c.tar.gz
llvm-95a134254a403750ddfee7c056efdf2359a7dc8c.tar.bz2
Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
-rw-r--r--llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
index 9cc04576..08b371e 100644
--- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
+++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
@@ -78,7 +78,7 @@ static cl::list<std::string> Libraries(
"l<x> searches for the library libx.a in the library search path. If"
" the string 'x' ends with '.o', then the library 'x' is searched for"
" without prepending 'lib' or appending '.a'"),
- cl::ZeroOrMore, cl::Prefix, cl::cat(LibtoolCategory));
+ cl::Prefix, cl::cat(LibtoolCategory));
static cl::list<std::string> LibrarySearchDirs(
"L",