From 70d9724764d1b20e3be66cfba4d36b3555a2f1ab Mon Sep 17 00:00:00 2001 From: Forus0322 Date: Thu, 16 Jun 2022 09:59:42 +0800 Subject: [PATCH] [HUDI-4251] fix problems about the command 'commits sync' description does not match. --- .../java/org/apache/hudi/cli/commands/CommitsCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java index db1cd207df5a..0827e5d0d6dd 100644 --- a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java +++ b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java @@ -442,8 +442,8 @@ public String compareCommits(@CliOption(key = {"path"}, help = "Path of the tabl } } - @CliCommand(value = "commits sync", help = "Compare commits with another Hoodie table") - public String syncCommits(@CliOption(key = {"path"}, help = "Path of the table to compare to") final String path) { + @CliCommand(value = "commits sync", help = "Sync commits with another Hoodie table") + public String syncCommits(@CliOption(key = {"path"}, help = "Path of the table to sync to") final String path) { HoodieCLI.syncTableMetadata = HoodieTableMetaClient.builder().setConf(HoodieCLI.conf).setBasePath(path).build(); HoodieCLI.state = HoodieCLI.CLIState.SYNC; return "Load sync state between " + HoodieCLI.getTableMetaClient().getTableConfig().getTableName() + " and "