Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help command giving wrong executable name #45

Closed
denil-ct opened this issue Sep 4, 2023 · 0 comments · Fixed by #51
Closed

Help command giving wrong executable name #45

denil-ct opened this issue Sep 4, 2023 · 0 comments · Fixed by #51

Comments

@denil-ct
Copy link

denil-ct commented Sep 4, 2023

$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant