From a1025a75569eb4f031133dd8ac75f7bf3c67eabc Mon Sep 17 00:00:00 2001 From: Dominik Richter Date: Thu, 21 Mar 2024 13:04:57 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9F=A2=20check=20err=20on=20markhidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dominik Richter --- apps/cnquery/cmd/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cnquery/cmd/run.go b/apps/cnquery/cmd/run.go index f09897a7a4..466b8f0136 100644 --- a/apps/cnquery/cmd/run.go +++ b/apps/cnquery/cmd/run.go @@ -29,9 +29,9 @@ func init() { RunCmd.Flags().String("llx", "", "Generate the executable code bundle and save it to the specified file.") RunCmd.Flags().MarkHidden("llx") RunCmd.Flags().String("use-llx", "", "Run the code specified in the code bundle on disk") - RunCmd.Flags().MarkHidden("use-llx") + _ = RunCmd.Flags().MarkHidden("use-llx") RunCmd.Flags().StringToString("annotations", nil, "Specify annotations for this run") - RunCmd.Flags().MarkHidden("annotations") + _ = RunCmd.Flags().MarkHidden("annotations") } var RunCmd = &cobra.Command{