diff --git a/cmd/incus/snapshot.go b/cmd/incus/snapshot.go index 86cae454973..0fd1f73768b 100644 --- a/cmd/incus/snapshot.go +++ b/cmd/incus/snapshot.go @@ -206,7 +206,7 @@ func (c *cmdSnapshotDelete) Run(cmd *cobra.Command, args []string) error { } // Parse remote - resources, err := c.global.ParseServers(args...) + resources, err := c.global.ParseServers(args[0]) if err != nil { return err }