[PATCH] D114538: Have yaml2obj describe all options in --help

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 07:43:02 PST 2021


probinson added a comment.

Before:

  OVERVIEW: Create an object file from a YAML description
  USAGE: yaml2obj [options] <input file>
  
  OPTIONS:
  
  Generic Options:
  
    --help          - Display available options (--help-hidden for more)
    --help-list     - Display list of available options (--help-list-hidden for more)
    --version       - Display the version of this program
  
  yaml2obj Options:
  
    --docnum=<uint> - Read specified document from input (default = 1)
    -o=<filename>   - Output filename

After:

  OVERVIEW: Create an object file from a YAML description
  USAGE: yaml2obj [options] <input file>
  
  OPTIONS:
  
  Generic Options:
  
    --help             - Display available options (--help-hidden for more)
    --help-list        - Display list of available options (--help-list-hidden for more)
    --version          - Display the version of this program
  
  yaml2obj Options:
  
    -D=<string>        - Defined the specified macros to their specified definition. The syntax is <macro>=<definition>
    --docnum=<uint>    - Read specified document from input (default = 1)
    --max-size=<ulong> - Sets the maximum allowed output size (0 means no limit) [ELF only]
    -o=<filename>      - Output filename


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114538/new/

https://reviews.llvm.org/D114538



More information about the llvm-commits mailing list