mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Improving message formatting of supported functions
- Implementing fmt::Display for SupportedFunctions and sub-structs
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
if parsed.show_supported {
|
||||
let dat = dbus.proxies().supported().get_supported_functions()?;
|
||||
println!("Supported laptop functions:\n{:?}", dat);
|
||||
println!("Supported laptop functions:\n\n{}", dat);
|
||||
}
|
||||
|
||||
if let Some(chg_limit) = parsed.chg_limit {
|
||||
|
||||
Reference in New Issue
Block a user