From 9972f9a6cb02d8738e0a1f5d30d3be6dcdc66346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 11 Apr 2024 08:47:27 +0300 Subject: [PATCH] Fix (remove) check positional argument count validation --- cmd/check.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/check.go b/cmd/check.go index d6303c7..81e730a 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -22,7 +22,6 @@ func newCheckCmd() *cobra.Command { check subcommand checks if the binary is the latest version and displays the name of the binary that needs to be updated. However, do not update`, - Args: cobra.NoArgs, ValidArgsFunction: cobra.NoFileCompletions, Run: func(cmd *cobra.Command, args []string) { OsExit(check(cmd, args))