Skip to content

Commit

Permalink
Revert "More minor changes"
Browse files Browse the repository at this point in the history
This reverts commit c01b1cb.

The format flag should not be required as we use the default.

Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Sep 19, 2023
1 parent c01b1cb commit 9f45ef2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion go/cmd/vtctldclient/command/vreplication/common/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ 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) {
Expand Down

0 comments on commit 9f45ef2

Please sign in to comment.