From c01b1cb3ed679b9a748f7b46ed09cd3c0c35a175 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Tue, 19 Sep 2023 11:42:27 -0400 Subject: [PATCH] More minor changes Signed-off-by: Matt Lord --- go/cmd/vtctldclient/command/vreplication/common/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/cmd/vtctldclient/command/vreplication/common/utils.go b/go/cmd/vtctldclient/command/vreplication/common/utils.go index ac183703bf5..b3a0ad36ce3 100644 --- a/go/cmd/vtctldclient/command/vreplication/common/utils.go +++ b/go/cmd/vtctldclient/command/vreplication/common/utils.go @@ -177,6 +177,7 @@ func AddCommonFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVarP(&BaseOptions.Workflow, "workflow", "w", "", "The workflow you want to perform the command on.") cmd.MarkPersistentFlagRequired("workflow") cmd.PersistentFlags().StringVar(&BaseOptions.Format, "format", "text", "The format of the output; supported formats are: text,json.") + cmd.MarkPersistentFlagRequired("format") } func AddCommonCreateFlags(cmd *cobra.Command) {