Skip to content

Commit

Permalink
[HUDI-4251] fix problems about the command 'commits sync' description…
Browse files Browse the repository at this point in the history
… does not match.
  • Loading branch information
Forus0322 committed Jun 16, 2022
1 parent 2bf0a19 commit 70d9724
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 70d9724

Please sign in to comment.