[PATCH] D92217: [llvm-objdump] Remove -mcpu=help from help text

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 01:49:34 PST 2020

DavidSpickett created this revision.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
Herald added a project: LLVM.
DavidSpickett requested review of this revision.

The mcpu option was added in c9595620925499c0f33a5380158bad8cac46fda2.
It has never recognised "help" as far as I can tell.

  rG LLVM Github Monorepo



Index: llvm/tools/llvm-objdump/llvm-objdump.cpp
--- llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ llvm/tools/llvm-objdump/llvm-objdump.cpp
@@ -226,7 +226,7 @@
                         cl::Grouping, cl::aliasopt(MachOOpt));
 cl::opt<std::string> objdump::MCPU(
-    "mcpu", cl::desc("Target a specific cpu type (-mcpu=help for details)"),
+    "mcpu", cl::desc("Target a specific cpu type"),
     cl::value_desc("cpu-name"), cl::init(""), cl::cat(ObjdumpCat));
 cl::list<std::string> objdump::MAttrs("mattr", cl::CommaSeparated,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92217.307991.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201127/b25810ae/attachment.bin>

More information about the llvm-commits mailing list