Forwarded error from ProfileProxy::profile_names instead of 'expecting' there. Handled error up in main by logging. Reorganized code in ctrl_fan_cpu to keep consistent code structure

This commit is contained in:
Tony
2021-03-17 01:50:16 +00:00
committed by Luke Jones
parent c29afaf751
commit ad150903af
4 changed files with 34 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ pub struct ProfileCommand {
pub next: bool,
#[options(help = "create the profile if it doesn't exist")]
pub create: bool,
#[options(help = "list available profiles")]
pub list: bool,
#[options(meta = "", help = "enable or disable cpu turbo")]
pub turbo: Option<bool>,