mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 09:28:25 +01:00
Remove outdated TODO comment
This commit is contained in:
parent
13a47c3a2c
commit
831fe666fa
1 changed files with 0 additions and 1 deletions
|
@ -96,7 +96,6 @@ fn print_completions(shell: clap_complete::Shell) -> Result<ExitCode> {
|
||||||
let program_name = env::args().next().unwrap_or_else(|| "fd".to_string());
|
let program_name = env::args().next().unwrap_or_else(|| "fd".to_string());
|
||||||
let mut cmd = Opts::command();
|
let mut cmd = Opts::command();
|
||||||
cmd.build();
|
cmd.build();
|
||||||
// TODO: fix panic
|
|
||||||
clap_complete::generate(shell, &mut cmd, &program_name, &mut std::io::stdout());
|
clap_complete::generate(shell, &mut cmd, &program_name, &mut std::io::stdout());
|
||||||
Ok(ExitCode::Success)
|
Ok(ExitCode::Success)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue