This is an automated email from the ASF dual-hosted git repository. dragonyliu pushed a commit to branch release-2.4.0 in repository https://gitbox.apache.org/repos/asf/ratis.git
commit 03f3f7c2be7c996d96a83775b3ab968465f5f493 Author: tison <[email protected]> AuthorDate: Sun Oct 2 17:24:28 2022 +0800 RATIS-1713. Fix TakeSnapshotCommand's usage info (#753) (cherry picked from commit 3bc72c6f383b723f545c52c25e3ea2ea5be0aac1) --- .../org/apache/ratis/shell/cli/sh/snapshot/TakeSnapshotCommand.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ratis-shell/src/main/java/org/apache/ratis/shell/cli/sh/snapshot/TakeSnapshotCommand.java b/ratis-shell/src/main/java/org/apache/ratis/shell/cli/sh/snapshot/TakeSnapshotCommand.java index e3c6740ec..10bac3497 100644 --- a/ratis-shell/src/main/java/org/apache/ratis/shell/cli/sh/snapshot/TakeSnapshotCommand.java +++ b/ratis-shell/src/main/java/org/apache/ratis/shell/cli/sh/snapshot/TakeSnapshotCommand.java @@ -79,7 +79,11 @@ public class TakeSnapshotCommand extends AbstractRatisCommand { + " [-%s <RAFT_GROUP_ID>]" + " [-%s <timeoutInMs>]" + " [-%s <raftPeerId>]", - getCommandName(), PEER_OPTION_NAME, GROUPID_OPTION_NAME, TAKE_SNAPSHOT_TIMEOUT_OPTION_NAME); + getCommandName(), + PEER_OPTION_NAME, + GROUPID_OPTION_NAME, + TAKE_SNAPSHOT_TIMEOUT_OPTION_NAME, + PEER_ID_OPTION_NAME); } @Override
