From 95a134254a403750ddfee7c056efdf2359a7dc8c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 5 Jun 2022 01:07:50 -0700 Subject: Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options --- llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp') 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 Libraries( "l 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 LibrarySearchDirs( "L", -- cgit v1.1