Skip to content

Commit

Permalink
fix(tools): Fix formatting on 'env' subcommand output
Browse files Browse the repository at this point in the history
  • Loading branch information
kscarlett committed Aug 30, 2018
1 parent 25f840f commit db115b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ var env = &cobra.Command{
}

func printEnvironment() {
fmt.Printf("arch: %s", runtime.GOARCH)
fmt.Printf("os: %s", runtime.GOOS)
fmt.Printf("bin: %s", os.Args[0])
fmt.Printf("gc: %s", runtime.Version())
fmt.Printf("vers: %s", version)
fmt.Printf("build: %s", build)
fmt.Printf("arch: %s\n", runtime.GOARCH)
fmt.Printf("os: %s\n", runtime.GOOS)
fmt.Printf("bin: %s\n", os.Args[0])
fmt.Printf("gc: %s\n", runtime.Version())
fmt.Printf("vers: %s\n", version)
fmt.Printf("build: %s\n", build)
}

0 comments on commit db115b4

Please sign in to comment.