diff options
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/actions.rs | 4 | ||||
| -rw-r--r-- | src/main.rs | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ [package] name = "podcast" -version = "0.5.2" +version = "0.5.3" authors = ["Nathan Jaremko <njaremko@gmail.com>"] description = "A command line podcast manager" license = "GPL-3.0" diff --git a/src/actions.rs b/src/actions.rs index 19fc00c..3c1a6e9 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -33,7 +33,7 @@ pub fn list_episodes(search: &str) { "({}) {}\n", episodes.len() - num, ep.title().unwrap() - ); + ).is_ok(); } return; } @@ -109,7 +109,7 @@ pub fn list_subscriptions(state: &State) { let stdout = io::stdout(); let mut handle = stdout.lock(); for podcast in &state.subscriptions() { - write!(&mut handle, "{}\n", &podcast.title); + write!(&mut handle, "{}\n", &podcast.title).is_ok(); } } diff --git a/src/main.rs b/src/main.rs index 7f88d32..68c3193 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,7 @@ use structs::*; use clap::{App, Arg, SubCommand}; -const VERSION: &str = "0.5.2"; +const VERSION: &str = "0.5.3"; fn main() { if let Err(err) = create_directories() { |
