summaryrefslogtreecommitdiffstats
path: root/commands/env.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/env.go')
-rw-r--r--commands/env.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/env.go b/commands/env.go
index b6ba3dffb..54c98d527 100644
--- a/commands/env.go
+++ b/commands/env.go
@@ -14,10 +14,10 @@
package commands
import (
- "fmt"
"runtime"
"github.com/spf13/cobra"
+ jww "github.com/spf13/jwalterweatherman"
)
var envCmd = &cobra.Command{
@@ -26,9 +26,9 @@ var envCmd = &cobra.Command{
Long: `Print Hugo version and environment info. This is useful in Hugo bug reports.`,
RunE: func(cmd *cobra.Command, args []string) error {
printHugoVersion()
- fmt.Printf("GOOS=%q\n", runtime.GOOS)
- fmt.Printf("GOARCH=%q\n", runtime.GOARCH)
- fmt.Printf("GOVERSION=%q\n", runtime.Version())
+ jww.FEEDBACK.Printf("GOOS=%q\n", runtime.GOOS)
+ jww.FEEDBACK.Printf("GOARCH=%q\n", runtime.GOARCH)
+ jww.FEEDBACK.Printf("GOVERSION=%q\n", runtime.Version())
return nil
},