Check for no feeds found.
This commit is contained in:
parent
a9d68ea859
commit
f56ff3e06f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue