mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-11-08 07:20:49 +08:00
parent
aca618a90b
commit
c6e956aa43
2 changed files with 6 additions and 8 deletions
|
|
@ -31,9 +31,8 @@ type zoneCache struct {
|
|||
var _ = cmd(catMain, func() *cli.Command {
|
||||
var args PPreviewArgs
|
||||
return &cli.Command{
|
||||
Name: "preview",
|
||||
Aliases: []string{"ppreview"},
|
||||
Usage: "read live configuration and identify changes to be made, without applying them",
|
||||
Name: "ppreview",
|
||||
Usage: "read live configuration and identify changes to be made, without applying them",
|
||||
Action: func(ctx *cli.Context) error {
|
||||
return exit(PPreview(args))
|
||||
},
|
||||
|
|
@ -123,9 +122,8 @@ func (args *PPreviewArgs) flags() []cli.Flag {
|
|||
var _ = cmd(catMain, func() *cli.Command {
|
||||
var args PPushArgs
|
||||
return &cli.Command{
|
||||
Name: "push",
|
||||
Aliases: []string{"ppush"},
|
||||
Usage: "identify changes to be made, and perform them",
|
||||
Name: "ppush",
|
||||
Usage: "identify changes to be made, and perform them",
|
||||
Action: func(ctx *cli.Context) error {
|
||||
return exit(PPush(args))
|
||||
},
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import (
|
|||
var _ = cmd(catMain, func() *cli.Command {
|
||||
var args PreviewArgs
|
||||
return &cli.Command{
|
||||
Name: "oldpreview",
|
||||
Name: "preview",
|
||||
Usage: "read live configuration and identify changes to be made, without applying them",
|
||||
Action: func(ctx *cli.Context) error {
|
||||
return exit(Preview(args))
|
||||
|
|
@ -98,7 +98,7 @@ func (args *PreviewArgs) flags() []cli.Flag {
|
|||
var _ = cmd(catMain, func() *cli.Command {
|
||||
var args PushArgs
|
||||
return &cli.Command{
|
||||
Name: "oldpush",
|
||||
Name: "push",
|
||||
Usage: "identify changes to be made, and perform them",
|
||||
Action: func(ctx *cli.Context) error {
|
||||
return exit(Push(args))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue