aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Jaremko2019-01-15 23:55:28 -0500
committerNathan Jaremko2019-01-15 23:55:28 -0500
commit2059bdcd8582e2e64463f43dac2b719266d58323 (patch)
tree14c32a07bf45946ee9eef0e0c5d720dbf361ee88
parent0d5c469c23efc2bccca8878142a07d99a2dd06b2 (diff)
downloadpodcast-2059bdcd8582e2e64463f43dac2b719266d58323.tar.bz2
Improve download all episodes message prompt0.7.5
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs2
-rw-r--r--src/structs.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d6bcc1f..837683b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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()