diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-22 11:33:52 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-22 11:33:52 +0100 |
commit | cf8662ce03e5677ddb7de880ceb59d5d84a63259 (patch) | |
tree | dd72d63cd6664c113a88106e014c3d79382fe730 | |
parent | fix(yt/): Box large futures (diff) | |
download | yt-cf8662ce03e5677ddb7de880ceb59d5d84a63259.zip |
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.
-rw-r--r-- | yt/src/status/mod.rs | 5 |
1 files changed, 1 insertions, 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(()) |