Skip to content

Commit b727b6e

Browse files
authored
Merge pull request #3710 from AkihiroSuda/fix-completion
editflags: fix shell completion for containerd
2 parents 3bc63b6 + 2dc4103 commit b727b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/editflags/editflags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func RegisterCreate(cmd *cobra.Command, commentPrefix string) {
8282
})
8383

8484
flags.String("containerd", "", commentPrefix+"containerd mode (user, system, user+system, none)")
85-
_ = cmd.RegisterFlagCompletionFunc("vm-type", func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
85+
_ = cmd.RegisterFlagCompletionFunc("containerd", func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
8686
return []string{"user", "system", "user+system", "none"}, cobra.ShellCompDirectiveNoFileComp
8787
})
8888

0 commit comments

Comments
 (0)