[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 04:30:17 PST 2020
DavidSpickett added a comment.
For reference it's listed as `--macho` in https://llvm.org/docs/CommandGuide/llvm-objdump.html#cmdoption-llvm-objdump-macho. However that page is missing some of the "requires -macho" statements so could be a mistake.
Currently it only accepts `--`:
$ ./bin/llvm-objdump /tmp/arm64.o -d -macho
llvm-objdump: Unknown command line argument '-macho'. Try: './bin/llvm-objdump --help'
llvm-objdump: Did you mean '-h'?
$ ./bin/llvm-objdump /tmp/arm64.o -d --macho
llvm-objdump: error: /tmp/arm64.o': object is not a Mach-O file type.
But yes, perhaps it is intended to work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92310/new/
https://reviews.llvm.org/D92310
More information about the llvm-commits
mailing list