[llvm-objdump] Document --mattr=help in --help output
authorDavid Spickett <david.spickett@linaro.org>
Mon, 30 Nov 2020 10:39:07 +0000 (10:39 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Mon, 30 Nov 2020 12:52:54 +0000 (12:52 +0000)
commitc2ead57ccf74900901fdda1cd0fbe9a7a0d1297a
treef1c7a29ca1306f3965690f5b7fb3fc8ce951d312
parent13c42f4ca7fbe36257d192da02ec46a2c880d938
[llvm-objdump] Document --mattr=help in --help output

This does the same as `--mcpu=help` but was only
documented in the user guide.

* Added a test for both options.
* Corrected the single dash in `-mcpu=help` text.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D92305
llvm/docs/CommandGuide/llvm-objdump.rst
llvm/test/tools/llvm-objdump/mattr-mcpu-help.test [new file with mode: 0644]
llvm/tools/llvm-objdump/llvm-objdump.cpp