Skip to content

Commit

Permalink
Use fmt.Println for cli JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
phy25 committed Mar 23, 2020
1 parent a44891d commit 5c01e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tunasynctl/tunasynctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func listWorkers(c *cli.Context) error {
err.Error()),
1)
}
fmt.Print(string(b))
fmt.Println(string(b))
return nil
}

Expand Down Expand Up @@ -185,7 +185,7 @@ func listJobs(c *cli.Context) error {
fmt.Sprintf("Error printing out informations: %s", err.Error()),
1)
}
fmt.Print(string(b))
fmt.Println(string(b))
return nil
}

Expand Down

0 comments on commit 5c01e3f

Please sign in to comment.