fix: requesting plc flag in case is not provided when using the -flpc flag #59

This commit is contained in:
esimov
2022-09-30 09:46:21 +03:00
parent 9047c788ba
commit c0cd0bee9d
2 changed files with 49 additions and 31 deletions

View File

@@ -29,8 +29,8 @@ const (
defaultColor = "\x1b[0m"
)
// NewProgressIndicator instantiates a new progress indicator.
func NewProgressIndicator(msg string, d time.Duration) *ProgressIndicator {
// NewSpinner instantiates a new progress indicator.
func NewSpinner(msg string, d time.Duration) *ProgressIndicator {
return &ProgressIndicator{
mu: &sync.RWMutex{},
delay: d,