Skip to content

Commit 78a0639

Browse files
committed
Log version when watch is run in verbose mode
1 parent 0ae849d commit 78a0639

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd_watch.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"log"
5+
"runtime"
56
"time"
67

78
"github.com/BurntSushi/xgb"
@@ -78,6 +79,7 @@ func (cmd CmdWatch) Execute(args []string) error {
7879
ch := make(chan Event)
7980
go subscribeXEvents(ch, done)
8081

82+
V("grobi %s, compiled with %v on %v\n", version, runtime.Version(), runtime.GOOS)
8183
V("successfully subscribed to X RANDR change events\n")
8284

8385
var tickerCh <-chan time.Time

0 commit comments

Comments
 (0)