[all-commits] [llvm/llvm-project] aabaca: [llvm-objdump] Use "--" for long options in --help...

David Spickett via All-commits all-commits at lists.llvm.org
Mon Dec 14 05:19:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aabaca33635885e81baa79730b6b213fc96ac636
      https://github.com/llvm/llvm-project/commit/aabaca33635885e81baa79730b6b213fc96ac636
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M llvm/tools/llvm-objdump/MachODump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] Use "--" for long options in --help text

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.

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D92310




More information about the All-commits mailing list