From cf8662ce03e5677ddb7de880ceb59d5d84a63259 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 22 Feb 2025 11:33:52 +0100 Subject: fix(yt/status): Don't show the database version in `yt status` The db version is already migrated to the latest at this point, thus this is effectively just showing the latest available version. `yt --version` actually shows the current one. --- yt/src/status/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/yt/src/status/mod.rs b/yt/src/status/mod.rs index 9ffec27..4dc8fab 100644 --- a/yt/src/status/mod.rs +++ b/yt/src/status/mod.rs @@ -86,8 +86,6 @@ pub async fn show(app: &App) -> Result<()> { } }; - let db_version = get_version(app).await?; - let cache_usage_raw = Downloader::get_current_cache_allocation(app) .await .context("Failed to get current cache allocation")?; @@ -106,8 +104,7 @@ Dropped Videos: {dropped_videos_len} {watchtime_status} Subscriptions: {subscriptions_len} - Cache usage: {cache_usage} - DB version: {db_version}" + Cache usage: {cache_usage}" ); Ok(()) -- cgit 1.4.1