From d86a206f06a51c12a9fcf2c20199f4e819751c0c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 5 Jun 2022 00:31:44 -0700 Subject: Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options --- llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 a38736e..9cc04576 100644 --- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp +++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp @@ -43,7 +43,6 @@ static cl::opt OutputFile("o", cl::desc("Specify output filename"), static cl::list InputFiles(cl::Positional, cl::desc(""), - cl::ZeroOrMore, cl::cat(LibtoolCategory)); static cl::opt @@ -86,7 +85,7 @@ static cl::list LibrarySearchDirs( cl::desc( "L adds to the list of directories in which to search for" " libraries"), - cl::ZeroOrMore, cl::Prefix, cl::cat(LibtoolCategory)); + cl::Prefix, cl::cat(LibtoolCategory)); static cl::opt VersionOption("V", cl::desc("Print the version number and exit"), -- cgit v1.1