diff options
| author | Nathan Jaremko | 2019-01-15 23:55:28 -0500 |
|---|---|---|
| committer | Nathan Jaremko | 2019-01-15 23:55:28 -0500 |
| commit | 2059bdcd8582e2e64463f43dac2b719266d58323 (patch) | |
| tree | 14c32a07bf45946ee9eef0e0c5d720dbf361ee88 | |
| parent | 0d5c469c23efc2bccca8878142a07d99a2dd06b2 (diff) | |
| download | podcast-2059bdcd8582e2e64463f43dac2b719266d58323.tar.bz2 | |
Improve download all episodes message prompt0.7.5
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/main.rs | 2 | ||||
| -rw-r--r-- | src/structs.rs | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ [package] name = "podcast" edition = "2018" -version = "0.7.4" +version = "0.7.5" authors = ["Nathan Jaremko <njaremko@gmail.com>"] description = "A command line podcast manager" license = "GPL-3.0" diff --git a/src/main.rs b/src/main.rs index a5f5db6..5f6cfc6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,7 @@ use self::utils::*; use clap::{App, Arg, SubCommand}; -const VERSION: &str = "0.7.4"; +const VERSION: &str = "0.7.5"; fn main() -> Result<()> { create_directories().chain_err(|| "unable to create directories")?; diff --git a/src/structs.rs b/src/structs.rs index 0fde2b3..9b921ee 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -228,7 +228,7 @@ impl Podcast { } pub fn download(&self) -> Result<()> { - print!("You are about to download all episodes (y/n): "); + print!("You are about to download all episodes of {} (y/n): ", self.title()); io::stdout().flush().ok(); let mut input = String::new(); io::stdin() |
