From 074889b43fc36d036b067e90a7977a2fd6b519d3 Mon Sep 17 00:00:00 2001 From: Alex Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:39:34 +0100 Subject: [PATCH] refactor(ux): don't print the list of available channels on channel parsing error (#222) --- crates/television/cli.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/television/cli.rs b/crates/television/cli.rs index 1822981..3e44814 100644 --- a/crates/television/cli.rs +++ b/crates/television/cli.rs @@ -160,8 +160,6 @@ impl From for PostProcessedCli { fn unknown_channel_exit(channel: &str) { eprintln!("Unknown channel: {channel}\n"); - // print the list of channels - list_channels(); std::process::exit(1); }