This is an archive of the discontinued LLVM Phabricator instance.

Simplify llvm-cat -help
ClosedPublic

Authored by serge-sans-paille on May 9 2019, 9:07 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2019, 9:07 AM

Please remember to include the context!

Include full context

For reference, and following the idea that we should not filter out relevant options, her eis the original output:

OVERVIEW: Module concatenation
USAGE: llvm-cat [options] <input  files>

OPTIONS:

Color Options:

  --color                            - Use colors in output (default=autodetect)

General options:

  -b                                 - Whether to perform binary concatenation
  --cost-kind=<value>                - Target cost kind
    =throughput                      -   Reciprocal throughput
    =latency                         -   Instruction latency
    =code-size                       -   Code size
  -o=<filename>                      - Output filename
  --remarks-yaml-string-table        - 
  --safepoint-ir-verifier-print-only - 
  --time-trace-granularity=<uint>    - Minimum time granularity (in microseconds) traced by time profiler
  --verify-region-info               - Verify region info (time consuming)

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

and the new output

OVERVIEW: Module concatenation
USAGE: llvm-cat [options] <input  files>

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

llvm-cat Options:

  -b            - Whether to perform binary concatenation
  -o=<filename> - Output filename
t.p.northover accepted this revision.May 13 2019, 3:54 AM
t.p.northover added a subscriber: t.p.northover.

Looks fine to me.

This revision is now accepted and ready to land.May 13 2019, 3:54 AM
This revision was automatically updated to reflect the committed changes.