Skip to content

Commit

Permalink
quiet: do not show progress bar if --quiet was set
Browse files Browse the repository at this point in the history
Fixes #636.
Updates #502.
  • Loading branch information
odeke-em committed May 7, 2016
1 parent ba595ab commit f411a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func New(context *config.Context, opts *Options) *Commands {
}

func (g *Commands) taskStart(tasks int64) {
if tasks > 0 {
if tasks > 0 && g.opts.canPreview() {
g.progress = newProgressBar(tasks)
}
}
Expand Down

0 comments on commit f411a4a

Please sign in to comment.