mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
cmd/thalos/main.go: minor cleanup in VersionPrinter
This commit is contained in:
parent
9974bfe3fd
commit
7108299550
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ func main() {
|
|||
DisableDefaultText: true,
|
||||
}
|
||||
|
||||
cli.VersionPrinter = func(cCtx *cli.Context) {
|
||||
fmt.Printf("Version %s\n", VersionString)
|
||||
cli.VersionPrinter = func(ctx *cli.Context) {
|
||||
fmt.Printf("Version %s\n", ctx.App.Version)
|
||||
}
|
||||
|
||||
cli.VersionFlag = &cli.BoolFlag{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue