From c6e956aa430f86dd32a50872aa0d5b5e1803273f Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Fri, 4 Oct 2024 15:45:10 -0400 Subject: [PATCH] Revert "FEATURE: parallel preview/push is now default (#3132)" (#3144) --- commands/ppreviewPush.go | 10 ++++------ commands/previewPush.go | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/commands/ppreviewPush.go b/commands/ppreviewPush.go index 08d7a557f..68e846b4e 100644 --- a/commands/ppreviewPush.go +++ b/commands/ppreviewPush.go @@ -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)) }, diff --git a/commands/previewPush.go b/commands/previewPush.go index 38038a37e..8220f5bee 100644 --- a/commands/previewPush.go +++ b/commands/previewPush.go @@ -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))