[yabridgectl] Reword not yet installed status

The red `not installed` was causing some confusion.
This commit is contained in:
Robbert van der Helm
2021-02-26 14:11:46 +01:00
parent 2cf5f2dfb9
commit 9483c11ee0
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -25,6 +25,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).
- Fixed a regression from yabridge 3.0.0 where log output would no longer - Fixed a regression from yabridge 3.0.0 where log output would no longer
include timestamps. include timestamps.
### yabridgectl
- Changed the wording in `yabridgectl status` for plugins that have not been
setup yet to look less dramatic and hopefully cause less confusion.
## [3.0.0] - 2021-02-14 ## [3.0.0] - 2021-02-14
### Added ### Added
+2 -2
View File
@@ -114,8 +114,8 @@ pub fn show_status(config: &Config) -> Result<()> {
println!("Could not find yabridge's files files: {}\n", err); println!("Could not find yabridge's files files: {}\n", err);
} }
} }
println!("installation method: {}", config.method); println!("installation method: {}", config.method);
for (path, search_results) in results { for (path, search_results) in results {
println!("\n{}:", path.display()); println!("\n{}:", path.display());
@@ -124,7 +124,7 @@ pub fn show_status(config: &Config) -> Result<()> {
Some(NativeFile::Regular(_)) => "copy".green(), Some(NativeFile::Regular(_)) => "copy".green(),
Some(NativeFile::Symlink(_)) => "symlink".green(), Some(NativeFile::Symlink(_)) => "symlink".green(),
Some(NativeFile::Directory(_)) => "invalid".red(), Some(NativeFile::Directory(_)) => "invalid".red(),
None => "not installed".red(), None => "not yet installed".into(),
}; };
println!(" {} :: {}", plugin.display(), status_str); println!(" {} :: {}", plugin.display(), status_str);