commands: Show OS and ARCH in version output - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3286b24fce03b8302c17939cbbabcb0e0e9b0eb7
 (DIR) parent 2989c38245628e1ed0062f1a345da0693f4f294d
 (HTM) Author: Cameron Moore <moorereason@gmail.com>
       Date:   Wed,  4 Jan 2017 14:13:15 -0600
       
       commands: Show OS and ARCH in version output
       
       Diffstat:
         M commands/version.go                 |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/commands/version.go b/commands/version.go
       @@ -16,6 +16,7 @@ package commands
        import (
                "os"
                "path/filepath"
       +        "runtime"
                "strings"
                "time"
        
       @@ -43,9 +44,9 @@ func printHugoVersion() {
                        formatBuildDate() // format the compile time
                }
                if hugolib.CommitHash == "" {
       -                jww.FEEDBACK.Printf("Hugo Static Site Generator v%s BuildDate: %s\n", helpers.HugoVersion(), hugolib.BuildDate)
       +                jww.FEEDBACK.Printf("Hugo Static Site Generator v%s %s/%s BuildDate: %s\n", helpers.HugoVersion(), runtime.GOOS, runtime.GOARCH, hugolib.BuildDate)
                } else {
       -                jww.FEEDBACK.Printf("Hugo Static Site Generator v%s-%s BuildDate: %s\n", helpers.HugoVersion(), strings.ToUpper(hugolib.CommitHash), hugolib.BuildDate)
       +                jww.FEEDBACK.Printf("Hugo Static Site Generator v%s-%s %s/%s BuildDate: %s\n", helpers.HugoVersion(), strings.ToUpper(hugolib.CommitHash), runtime.GOOS, runtime.GOARCH, hugolib.BuildDate)
                }
        }