Skip to content

Fix zsh completion panic #161

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

Merged
merged 3 commits into from
Oct 25, 2021
Merged

Conversation

ede1998
Copy link
Contributor

@ede1998 ede1998 commented Oct 16, 2021

Closes #158.

What changed:

  • remove conflicts_with = "hash" and conflicts_with = "no-sort". They only exist in inferno's Options` struct, but they are not valid CLI argument.
  • remove conflicts_with = "freq" and replace it with a manual check. This is a bit of a workaround to fix the completion gen panic. Maybe we can remove that again in the future.
  • Fix a small clippy warning I ran into.

@djc djc merged commit b397d67 into flamegraph-rs:main Oct 25, 2021
@djc
Copy link
Contributor

djc commented Oct 25, 2021

Nice, thanks for fixing this!

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 this pull request may close these issues.

flamegraph --completions zsh crashes
2 participants