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
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ impl Setup {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let mut out = std::io::stdout();
|
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
|
// add shell dependent extra completion
|
||||||
match shell {
|
match shell {
|
||||||
Shell::Bash => {}
|
Shell::Bash => {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue