diff options
Diffstat (limited to 'crates/yt/src/version/mod.rs')
-rw-r--r-- | crates/yt/src/version/mod.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/yt/src/version/mod.rs b/crates/yt/src/version/mod.rs index 95660c0..2cc41c7 100644 --- a/crates/yt/src/version/mod.rs +++ b/crates/yt/src/version/mod.rs @@ -30,17 +30,20 @@ pub async fn show(config: &Config) -> Result<()> { .context("Failed to determine database version")? }; - let yt_dlp_version = { + let (yt_dlp, python) = { let yt_dlp = YoutubeDLOptions::new().build()?; yt_dlp.version() }; + let python = python.replace('\n', " "); + println!( "{}: {} db version: {db_version} -yt-dlp: {yt_dlp_version}", +yt-dlp: {yt_dlp} +python: {python}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"), ); |