[PATCH] D35477: [ELF] - Print options aliases in --help

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 04:01:16 PDT 2017


grimar created this revision.
Herald added a subscriber: emaste.

This is PR 30422,
previously LLD did not render option aliases in --help.

Also help output contained sduplicates for few options, for example:

  --build-id=<value> Generate build ID note
  --build-id Generate build ID note

Patch fixes that all. Example of output:

- Before applying this patch: https://justpaste.it/19189
- After: https://justpaste.it/1918b


https://reviews.llvm.org/D35477

Files:
  ELF/DriverUtils.cpp
  ELF/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35477.106847.patch
Type: text/x-patch
Size: 6975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170717/6314d99e/attachment.bin>


More information about the llvm-commits mailing list