1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

BUG: "dnscontrol version" not working (#2356)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli
2023-05-12 10:52:31 -04:00
committed by GitHub
parent d7a87f6e2a
commit 3d1cd30a1d
4 changed files with 42 additions and 6 deletions

View File

@ -22,7 +22,13 @@ const (
)
var commands = []*cli.Command{}
var version string
// These are set by/for goreleaser
var (
version = "dev"
commit = "none"
date = "unknown"
)
func cmd(cat string, c *cli.Command) bool {
c.Category = cat