1
0
mirror of https://github.com/go-task/task.git synced 2025-01-20 04:59:37 +02:00

Switch to printing the version string to std out

This commit is contained in:
Mads H. Danquah 2020-05-14 21:40:49 +02:00
parent 116879f7ea
commit f8252020aa

View File

@ -2,6 +2,7 @@ package main
import (
"context"
"fmt"
"log"
"os"
"os/signal"
@ -81,7 +82,7 @@ func main() {
pflag.Parse()
if versionFlag {
log.Printf("Task version: %s\n", version)
fmt.Printf("Task version: %s\n", version)
return
}