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

Change Cli parser from StructOpt to Clap #199

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

andjo403
Copy link
Contributor

As structopt is now in maintenance mode change to Clap.

json: bool,

/// Filter the output to items whose self-time is greater than this value
#[structopt(short = "pa", long = "percent-above", default_value = "0.0")]
#[clap(short = 'p', long = "percent-above", default_value = "0.0")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor change in the short flag as Clap do not support shorts that have multiple characters

@michaelwoerister
Copy link
Member

Thanks for the PR, @andjo403! Sorry for the long wait.

@michaelwoerister michaelwoerister merged commit 8f1b832 into rust-lang:master Feb 9, 2023
@andjo403 andjo403 deleted the clapSwitch branch February 9, 2023 19:15
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.

2 participants