diff --git a/src/main.rs b/src/main.rs index 9888b02..9fa4edc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,6 @@ fn print_completions(shell: clap_complete::Shell) -> Result { let program_name = env::args().next().unwrap_or_else(|| "fd".to_string()); let mut cmd = Opts::command(); cmd.build(); - // TODO: fix panic clap_complete::generate(shell, &mut cmd, &program_name, &mut std::io::stdout()); Ok(ExitCode::Success) }