From 9d4096659f4aa795bfa30d5fd8145d8b17743f58 Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier Date: Mon, 6 Jan 2025 13:35:10 +0100 Subject: [PATCH] refactor(ux): don't print the list of available channels on channel parsing error --- 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); }