diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 1b67d78..944989d 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -49,7 +49,13 @@ func New(version, commit, date string) *cli.App { flags := getGlobalFlags() - v := fmt.Sprintf("v%v-%v (%v)", version, commit, date) + var v string + if version == "" { + v = "develop" + } else { + v = fmt.Sprintf("v%v-%v (%v)", version, commit, date) + } + app := &cli.App{ Name: name, Usage: "A tool to generate synthetic OpenTelemetry logs, metrics and traces",