Skip to content

Commit

Permalink
Add count to progressbar
Browse files Browse the repository at this point in the history
  • Loading branch information
narasaka committed Sep 18, 2023
1 parent b698412 commit 4a890aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/cli/mcap/cmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ var convertCmd = &cobra.Command{
progressBar := progressbar.NewOptions64(
int64(messageCount),
progressbar.OptionShowBytes(true),
progressbar.OptionShowCount(),
)

_, err = f.Seek(0, io.SeekStart) // Info() moved the seeker to EOF. This brings it back to the start.
Expand Down

0 comments on commit 4a890aa

Please sign in to comment.