mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-22 22:26:54 +03:00
fix: deprecated function in clap (#1225)
`CommandFactory::into_app()` is deprecated in favor of `CommandFactory::command()`
This commit is contained in:
parent
ade3548496
commit
c2e388f339
@ -392,7 +392,7 @@ impl Setup {
|
||||
}
|
||||
};
|
||||
let mut out = std::io::stdout();
|
||||
clap_complete::generate(shell, &mut CliArgs::into_app(), "zellij", &mut out);
|
||||
clap_complete::generate(shell, &mut CliArgs::command(), "zellij", &mut out);
|
||||
// add shell dependent extra completion
|
||||
match shell {
|
||||
Shell::Bash => {}
|
||||
|
Loading…
Reference in New Issue
Block a user