webhookd/version.go
2018-07-27 07:25:39 +00:00

23 lines
397 B
Go

package main
import (
"flag"
"fmt"
)
// Version of the app
var Version = "snapshot"
var (
version = flag.Bool("version", false, "Print version")
)
func printVersion() {
fmt.Printf(`webhookd (%s)
Copyright (C) 2018 Nunux, Org.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Nicolas Carlier.`, Version)
}