fix: the completion subcommand should assume the CLI is named codex, not codex-cli

This commit is contained in:
Michael Bolin
2025-07-09 13:53:21 -07:00
parent 4a15ebc1ca
commit 9241fe5504

View File

@@ -155,6 +155,6 @@ fn prepend_config_flags(
fn print_completion(cmd: CompletionCommand) {
let mut app = MultitoolCli::command();
let name = app.get_name().to_string();
let name = "codex";
generate(cmd.shell, &mut app, name, &mut std::io::stdout());
}