diff --git a/asusctl/src/main.rs b/asusctl/src/main.rs index ca26f60f..4c22ecbf 100644 --- a/asusctl/src/main.rs +++ b/asusctl/src/main.rs @@ -1192,7 +1192,7 @@ fn print_firmware_attr(attr: &AsusArmouryProxyBlocking) -> Result<(), Box Result<(), Box> { { if cmd.free.is_empty() || (cmd.free.len() % 2 != 0) || cmd.help { - const USAGE: &str = "Usage: asusctl platform panel_overdrive 1 nv_dynamic_boost 5"; + const USAGE: &str = "Usage: asusctl armoury panel_overdrive 1 nv_dynamic_boost 5"; if cmd.free.len() % 2 != 0 { println!( "Incorrect number of args, each attribute label must be paired with a setting:" diff --git a/asusd/src/asus_armoury.rs b/asusd/src/asus_armoury.rs index 67c86d34..5e017531 100644 --- a/asusd/src/asus_armoury.rs +++ b/asusd/src/asus_armoury.rs @@ -205,7 +205,13 @@ impl crate::Reloadable for AsusArmouryAttribute { self.attr.base_path_exists(); e })?; - info!("Set {} to {:?}", self.attr.name(), tune); + info!( + "Restored PPT armoury setting {} to {:?}", + self.attr.name(), + tune + ); + } else { + info!("Ignored restoring PPT armoury setting {} as tuning group is disabled or no saved value", self.attr.name()); } } else { // Handle non-PPT attributes (boolean and other settings) @@ -225,6 +231,11 @@ impl crate::Reloadable for AsusArmouryAttribute { self.attr.name(), saved_value ); + } else { + info!( + "No saved armoury setting for {}: skipping restore", + self.attr.name() + ); } }