[PATCH] D92310: [llvm-objdump] Use "--" for long options in --help text

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 03:58:56 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.

Single dash for these options is not recognised.

Changes found by running this on the --help output
and the user guide:
grep -e ' -[a-zA-Z]\{2,\}'

The user guide was updated in https://reviews.llvm.org/D92305
so no change there.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92310

Files:
  llvm/tools/llvm-objdump/MachODump.cpp
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92310.308316.patch
Type: text/x-patch
Size: 5933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201130/49438537/attachment.bin>


More information about the llvm-commits mailing list