You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2022/10/02 09:24:33 UTC
[ratis] branch master updated: RATIS-1713. Fix TakeSnapshotCommand's usage info (#753)
This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 3bc72c6f3 RATIS-1713. Fix TakeSnapshotCommand's usage info (#753)
3bc72c6f3 is described below
commit 3bc72c6f383b723f545c52c25e3ea2ea5be0aac1
Author: tison <wa...@gmail.com>
AuthorDate: Sun Oct 2 17:24:28 2022 +0800
RATIS-1713. Fix TakeSnapshotCommand's usage info (#753)
---
.../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