Skip to content

Commit

Permalink
Merge pull request #329 from danquah/version-print-std-out
Browse files Browse the repository at this point in the history
Switch to printing the version string to std out
  • Loading branch information
andreynering authored May 15, 2020
2 parents 442c29f + f825202 commit ee95df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"context"
"fmt"
"log"
"os"
"os/signal"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit ee95df0

Please sign in to comment.