From 7b95659d30bc1e1e34fb36b0abc2350b62828d2a Mon Sep 17 00:00:00 2001 From: hillium Date: Fri, 20 Dec 2024 12:10:16 +0800 Subject: [PATCH] added two new ops Signed-off-by: hillium --- br/cmd/br/operator.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/br/cmd/br/operator.go b/br/cmd/br/operator.go index 474a6f9fc8644..abd0156a5457b 100644 --- a/br/cmd/br/operator.go +++ b/br/cmd/br/operator.go @@ -114,6 +114,7 @@ func newMigrateToCommand() *cobra.Command { func newChecksumCommand() *cobra.Command { cmd := &cobra.Command{ + Use: "checksum-as", Short: "calculate the checksum with rewrite rules", Long: "Calculate the checksum of the current cluster (specified by `-u`) " + "with applying the rewrite rules generated from a backup (specified by `-s`). " + @@ -135,6 +136,7 @@ func newChecksumCommand() *cobra.Command { func newForceFlushCommand() *cobra.Command { cmd := &cobra.Command{ + Use: "force-flush", Short: "force a log backup task to flush", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error {