Skip to content

Commit

Permalink
incus: Fix first use missing on init/create
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Nov 13, 2023
1 parent d85b61f commit 2bc3567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/incus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (c *cmdGlobal) PreRun(cmd *cobra.Command, args []string) error {
flush = true
}

if !util.ValueInSlice(cmd.Name(), []string{"init", "launch"}) {
if !util.ValueInSlice(cmd.Name(), []string{"create", "launch"}) {
fmt.Fprintf(os.Stderr, i18n.G(`To start your first container, try: incus launch images:ubuntu/22.04
Or for a virtual machine: incus launch images:ubuntu/22.04 --vm`)+"\n")
flush = true
Expand Down

0 comments on commit 2bc3567

Please sign in to comment.