app/vmctl: enable version flag (#3868)

This commit is contained in:
Dmytro Kozlov 2023-02-27 11:30:53 +02:00 committed by GitHub
parent 255a0cf635
commit bcbf73225e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,9 +35,6 @@ func main() {
Name: "vmctl", Name: "vmctl",
Usage: "VictoriaMetrics command-line tool", Usage: "VictoriaMetrics command-line tool",
Version: buildinfo.Version, Version: buildinfo.Version,
// Disable `-version` flag to avoid conflict with lib/buildinfo flags
// see https://github.com/urfave/cli/issues/1560
HideVersion: true,
Commands: []*cli.Command{ Commands: []*cli.Command{
{ {
Name: "opentsdb", Name: "opentsdb",