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 "