Help command giving wrong executable name
denil-ct opened this issue · comments
Denil Chungath commented
$ ettrace --help
USAGE: perf-analysis-runner [--dsyms <dsyms>] [--launch] [--simulator] [--verbose]
OPTIONS:
-d, --dsyms <dsyms> Directory with dSYMs
-l, --launch Relaunch app with profiling from startup.
-s, --simulator Use simulator
-v, --verbose Verbose logging
-h, --help Show help information.
This is a known issue with argument parser as noted here. Basically it takes the name assigned to the command struct. We could override the _command
property and that seems to work but that has been explicitly marked for internal use. The only other solution seems to be to rename the struct PerfAnalysisRunner
to ETTrace
.