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 00:31:44 -0700
committerFangrui Song <i@maskray.me>2022-06-05 00:31:44 -0700
commitd86a206f06a51c12a9fcf2c20199f4e819751c0c (patch)
tree863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parent2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff)
downloadllvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.zip
llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.gz
llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.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.cpp3
1 files changed, 1 insertions, 2 deletions
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<std::string> OutputFile("o", cl::desc("Specify output filename"),
static cl::list<std::string> InputFiles(cl::Positional,
cl::desc("<input files>"),
- cl::ZeroOrMore,
cl::cat(LibtoolCategory));
static cl::opt<std::string>
@@ -86,7 +85,7 @@ static cl::list<std::string> LibrarySearchDirs(
cl::desc(
"L<dir> adds <dir> 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<bool>
VersionOption("V", cl::desc("Print the version number and exit"),