diff options
Diffstat (limited to 'src/match_handler.rs')
| -rw-r--r-- | src/match_handler.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/match_handler.rs b/src/match_handler.rs index 428f99c..ac09d15 100644 --- a/src/match_handler.rs +++ b/src/match_handler.rs @@ -77,11 +77,7 @@ pub fn handle_matches( .value_of("URL") .chain_err(|| "unable to find subcommand match")?; state.subscribe(url).chain_err(|| "unable to subscribe")?; - if subscribe_matches.occurrences_of("download") > 0 { - download_rss(&config, url)?; - } else { - subscribe_rss(url)?; - } + download_rss(&config, url)?; } Some("search") => println!("This feature is coming soon..."), Some("rm") => { |
