Skip to content

Commit 432a864

Browse files
songponsswjandubois
andcommitted
Update cmd/limactl/editflags/editflags.go
Co-authored-by: Jan Dubois <[email protected]> Signed-off-by: Songpon Srisawai <[email protected]>
1 parent 3ac1632 commit 432a864

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
@@ -68,7 +68,7 @@ func registerEdit(cmd *cobra.Command, commentPrefix string) {
6868
flags.Bool("video", false, commentPrefix+"Enable video output (has negative performance impact for QEMU)")
6969

7070
flags.Float32("disk", 0, commentPrefix+"Disk size in GiB") // colima-compatible
71-
_ = cmd.RegisterFlagCompletionFunc("memory", func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
71+
_ = cmd.RegisterFlagCompletionFunc("disk", func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
7272
return []string{"10", "30", "50", "100", "200"}, cobra.ShellCompDirectiveNoFileComp
7373
})
7474
}

0 commit comments

Comments
 (0)