mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW FEATURE: Add RFC4183 support to REV() (#2879)
Co-authored-by: Thomas Misilo <tmisilo@ksu.edu> Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
This commit is contained in:
@ -10,6 +10,7 @@ import (
|
||||
"github.com/StackExchange/dnscontrol/v4/models"
|
||||
"github.com/StackExchange/dnscontrol/v4/pkg/js"
|
||||
"github.com/StackExchange/dnscontrol/v4/pkg/normalize"
|
||||
"github.com/StackExchange/dnscontrol/v4/pkg/rfc4183"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
@ -58,6 +59,7 @@ var _ = cmd(catDebug, func() *cli.Command {
|
||||
log.SetOutput(os.Stdout)
|
||||
|
||||
err := exit(PrintIR(pargs))
|
||||
rfc4183.PrintWarning()
|
||||
if err == nil {
|
||||
fmt.Fprintf(os.Stdout, "No errors.\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user