diff --git a/src/commands/update.go b/src/commands/update.go index bd827f6..778751a 100644 --- a/src/commands/update.go +++ b/src/commands/update.go @@ -29,6 +29,9 @@ func (cmd *UpdateCmd) Run() (err error) { } for _, target := range cmd.Targets { + if len(strings.Split(target, "/")) < 2 { + target = target + "/" + target + } entry, err := cmd.getRegistryEntry(target) if err != nil { continue