Skip to content

Commit

Permalink
Merge pull request #24 from catatsuy/feature/display_version_go_version
Browse files Browse the repository at this point in the history
display go version
  • Loading branch information
catatsuy authored Sep 23, 2018
2 parents c0746a3 + 831e8ea commit 6427afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io/ioutil"
"os"
"os/signal"
"runtime"
"syscall"
"time"

Expand Down Expand Up @@ -68,7 +69,7 @@ func (c *CLI) Run(args []string) int {
}

if version {
fmt.Fprintf(c.errStream, "notify_slack version %s\n", Version)
fmt.Fprintf(c.errStream, "notify_slack version %s; %s\n", Version, runtime.Version())
return ExitCodeOK
}

Expand Down

0 comments on commit 6427afd

Please sign in to comment.