mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
refactor(ux): don't print the list of available channels on channel parsing error (#222)
This commit is contained in:
parent
d7e6c35735
commit
074889b43f
@ -160,8 +160,6 @@ impl From<Cli> for PostProcessedCli {
|
||||
|
||||
fn unknown_channel_exit(channel: &str) {
|
||||
eprintln!("Unknown channel: {channel}\n");
|
||||
// print the list of channels
|
||||
list_channels();
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user