aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--golings/cmd/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golings/cmd/run.go b/golings/cmd/run.go
index 3fb6c5b..4fe2b8b 100644
--- a/golings/cmd/run.go
+++ b/golings/cmd/run.go
@@ -20,7 +20,7 @@ func RunCmd(infoFile string) *cobra.Command {
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
spinner := progressbar.NewOptions(
- -1,
+ -1, // a negative number makes turns the progress bar into a spinner
progressbar.OptionEnableColorCodes(true),
progressbar.OptionSetDescription(color.WhiteString("Running exercise: %s", args[0])),
progressbar.OptionOnCompletion(func() {