Skip to content

Commit

Permalink
fix: Show runtime info.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Apr 18, 2024
1 parent bbdb6c7 commit 8d7022d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"

"github.com/gsmlg-dev/gsmlg-golang/errorhandler"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -48,6 +49,7 @@ var rootCmd = &cobra.Command{
fmt.Printf("Version: %s\n", Version)
os.Exit(0)
}
fmt.Printf("Runtime: %s/%s\n\n", runtime.GOOS, runtime.GOARCH)
cmd.Help()
},
}
Expand Down

0 comments on commit 8d7022d

Please sign in to comment.