From 933cf9db02b29566aee15b5efa036428bcba0494 Mon Sep 17 00:00:00 2001 From: Kenny Meador Date: Mon, 22 Jan 2024 20:22:48 -0600 Subject: [PATCH] detect unexpected args on flux check command Signed-off-by: Kenny Meador --- cmd/flux/check.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/flux/check.go b/cmd/flux/check.go index 99ecfd8c09..6159e3efd3 100644 --- a/cmd/flux/check.go +++ b/cmd/flux/check.go @@ -40,6 +40,7 @@ import ( var checkCmd = &cobra.Command{ Use: "check", + Args: cobra.NoArgs, Short: "Check requirements and installation", Long: withPreviewNote(`The check command will perform a series of checks to validate that the local environment is configured correctly and if the installed components are healthy.`),