Only output options that are directly relevant, and leave the remainder to the -help-hidden flag.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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