1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-06 15:46:00 +01:00
Files
glusterd2/version.go
2016-09-22 14:57:19 +05:30

19 lines
278 B
Go

package main
import (
"fmt"
"github.com/gluster/glusterd2/gdctx"
flag "github.com/spf13/pflag"
)
func init() {
//Register the `--version` flag
flag.Bool("version", false, "Show the version information")
}
func dumpVersionInfo() {
fmt.Println(gdctx.GlusterdVersion)
}