Skip to content

Commit

Permalink
fix: version string --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Sep 27, 2024
1 parent b64ced1 commit d545155
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/hperf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ import (
"github.com/minio/hperf/shared"
)

const (
VERSION = "4.0.8"
)
var version = "0.0.0-dev"

// Help template for mc
var mcHelpTemplate = `NAME:
Expand Down Expand Up @@ -189,7 +187,7 @@ func CreateApp() *cli.App {
app.Commands = Commands
app.Author = "MinIO, Inc."
app.Copyright = "(c) 2021-2024 MinIO, Inc."
app.Version = VERSION
app.Version = version
app.Flags = baseFlags
app.CustomAppHelpTemplate = mcHelpTemplate
app.EnableBashCompletion = false
Expand Down

0 comments on commit d545155

Please sign in to comment.