From 80718c2f99c9719c1d83943d3e6febe656e32787 Mon Sep 17 00:00:00 2001 From: jspc Date: Tue, 8 Mar 2022 13:39:20 +0000 Subject: [PATCH] Also cover default versioning --- client/cmd/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/install.go b/client/cmd/install.go index 5eefe8e..48679a6 100644 --- a/client/cmd/install.go +++ b/client/cmd/install.go @@ -56,7 +56,7 @@ var installCmd = &cobra.Command{ return fmt.Errorf("missing package(s)") } - if argCount > 1 && version != "" { + if argCount > 1 && (version != "" || version != "latest") { cmd.Usage() return fmt.Errorf("setting version with multiple packages makes no sense")