-
Notifications
You must be signed in to change notification settings - Fork 2
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
Display: Add ability to skip sections #10
Conversation
The KVM and MSR sections can now be skipped when display is run.
@@ -36,8 +36,13 @@ enum CommandOpts { | |||
|
|||
#[derive(StructOpt)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it appears that structopt
is being deprecated in favor of clap
: https://docs.rs/structopt/latest/structopt/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #12
src/main.rs
Outdated
@@ -72,7 +77,7 @@ impl Command for Disp { | |||
} | |||
} | |||
|
|||
if MSRDesc::is_availible() { | |||
if MSRDesc::is_availible() && !self.skip_msr { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
availible -> available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be fixed now.
The KVM and MSR sections can now be skipped when display is run.