Print path to libyabridge.so in yabridgectl status

This commit is contained in:
Robbert van der Helm
2020-07-14 21:01:52 +02:00
parent a5c626cb24
commit b94af4e7ae
+8 -1
View File
@@ -125,7 +125,14 @@ fn show_status(config: &Config) {
.yabridge_home
.as_ref()
.map(|path| format!("'{}'", path.display()))
.unwrap_or(String::from("<auto>"))
.unwrap_or_else(|| String::from("<auto>"))
);
println!(
"libyabridge.so: {}",
config
.libyabridge()
.map(|path| format!("'{}'", path.display()))
.unwrap_or_else(|_| format!("{}", "<not found>".red()))
);
println!("installation method: {}", config.method);