diff --git a/src/cli/completions.rs b/src/cli/completions.rs index 4c580cb..2269f7b 100644 --- a/src/cli/completions.rs +++ b/src/cli/completions.rs @@ -25,5 +25,5 @@ pub fn generate_shell_completions_or_continue() { } fn print_completions(gen: G, cmd: &mut Command) { - generate(gen, cmd, "tspin", &mut io::stdout()); + generate(gen, cmd, cmd.get_name().to_string(), &mut io::stdout()); }