Skip to content

Commit 9ede2c5

Browse files
committed
fix: completion command that is not a plugin
Signed-off-by: peefy <[email protected]>
1 parent dabaa74 commit 9ede2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kcl/commands/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func bootstrapCmdPlugin(cmd *cobra.Command, pluginHandler plugin.PluginHandler)
5757
}
5858
switch cmdName {
5959
// Don't search for a plugin
60-
case "help", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
60+
case "help", "completion", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
6161
default:
6262
if !builtinSubCmdExist {
6363
if err := plugin.HandlePluginCommand(pluginHandler, cmdPathPieces, false); err != nil {

0 commit comments

Comments
 (0)