Skip to content

Commit

Permalink
chore: add comment about printing the sync result
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc committed Nov 6, 2022
1 parent 03ce744 commit 4325ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/htp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func buildRootCommand() *cobra.Command {
return err
}

// Always print the result, it can be silenced by the user by
// redirecting the standard output to /dev/null.
if offset {
fmt.Printf("%+.3f\n", -model.Offset().Sec())
} else {
Expand Down

0 comments on commit 4325ea2

Please # to comment.