Skip to content

Commit 9c871f6

Browse files
committed
limactl: add more hint for limactl start
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 8248413 commit 9c871f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/limactl/start.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ func loadOrCreateInstance(cmd *cobra.Command, args []string) (*store.Instance, e
168168
}
169169
if inst, err := store.Inspect(st.instName); err == nil {
170170
logrus.Infof("Using the existing instance %q", st.instName)
171+
if arg == "" {
172+
logrus.Infof("Hint: To create another instance, run the following command: limactl start --name=NAME template://default")
173+
}
171174
return inst, nil
172175
} else {
173176
if !errors.Is(err, os.ErrNotExist) {

0 commit comments

Comments
 (0)