diff --git a/internal/config/config.go b/internal/config/config.go index 655cdce..fdf7568 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -26,7 +26,8 @@ func Initialize() { Count = tmp if len(os.Args) > 1 { Output = os.Args[1] - } else { + } + if len(Output) == 0 { tmp, error := os.Getwd() if error != nil { loggo.Fatal("encountered an error getting the current working directory", error.Error())