diff options
author | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
commit | d86a206f06a51c12a9fcf2c20199f4e819751c0c (patch) | |
tree | 863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/tools/llvm-dwp/llvm-dwp.cpp | |
parent | 2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff) | |
download | llvm-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-dwp/llvm-dwp.cpp')
-rw-r--r-- | llvm/tools/llvm-dwp/llvm-dwp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-dwp/llvm-dwp.cpp b/llvm/tools/llvm-dwp/llvm-dwp.cpp index c48236e..ab7145c 100644 --- a/llvm/tools/llvm-dwp/llvm-dwp.cpp +++ b/llvm/tools/llvm-dwp/llvm-dwp.cpp @@ -40,8 +40,9 @@ static cl::list<std::string> InputFiles(cl::Positional, cl::desc("<input files>"), cl::cat(DwpCategory)); static cl::list<std::string> ExecFilenames( - "e", cl::ZeroOrMore, - cl::desc("Specify the executable/library files to get the list of *.dwo from"), + "e", + cl::desc( + "Specify the executable/library files to get the list of *.dwo from"), cl::value_desc("filename"), cl::cat(DwpCategory)); static cl::opt<std::string> OutputFilename(cl::Required, "o", |