From 6a893e91c9133a5da0b262bead3ce746a875a969 Mon Sep 17 00:00:00 2001 From: Sam Tholiya Date: Mon, 13 Jan 2025 20:20:37 +0100 Subject: [PATCH] fix atmos version command --- cmd/root.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 5b6d36983..63391ed49 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -43,8 +43,6 @@ var RootCmd = &cobra.Command{ cmd.SilenceUsage = true cmd.SilenceErrors = true } - handleHelpRequest(cmd, args) - checkAtmosConfig() }, Run: func(cmd *cobra.Command, args []string) { // Check Atmos configuration @@ -108,7 +106,6 @@ func Execute() error { if err != nil { if strings.Contains(err.Error(), "unknown command") { command := getInvalidCommandName(err.Error()) - fmt.Println("_______REOO__________") showUsageAndExit(RootCmd, []string{command}) } }