mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-06 15:46:00 +01:00
19 lines
278 B
Go
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)
|
|
}
|