From f624d1969973412419398146c8afb10c493fea84 Mon Sep 17 00:00:00 2001 From: liuhaoming Date: Tue, 6 Feb 2024 14:52:14 +0800 Subject: [PATCH] feat: preview auto shows plan details --- pkg/cmd/preview/preview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/preview/preview.go b/pkg/cmd/preview/preview.go index 96605d645..d50f311b6 100644 --- a/pkg/cmd/preview/preview.go +++ b/pkg/cmd/preview/preview.go @@ -63,7 +63,7 @@ func NewCmdPreview() *cobra.Command { func (o *Options) AddPreviewFlags(cmd *cobra.Command) { cmd.Flags().StringVarP(&o.Operator, "operator", "", "", i18n.T("Specify the operator")) - cmd.Flags().BoolVarP(&o.Detail, "detail", "d", false, + cmd.Flags().BoolVarP(&o.Detail, "detail", "d", true, i18n.T("Automatically show plan details with interactive options")) cmd.Flags().BoolVarP(&o.All, "all", "a", false, i18n.T("Automatically show all plan details, combined use with flag `--detail`"))