1
Fork 0

Check for no feeds found.

This commit is contained in:
Bauke 2022-09-22 18:46:38 +02:00
parent a9d68ea859
commit f56ff3e06f
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 5 additions and 0 deletions

View File

@ -212,6 +212,11 @@ fn main() -> Result<()> {
..Default::default()
};
if feeds_to_output.is_empty() {
eprintln!("No feeds found.");
return Ok(());
}
for feed in feeds_to_output {
if args.opml {
opml_document