This is an automated email from the ASF dual-hosted git repository. namelchev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push: new 8f92588 IGNITE-14989 Fix the help message of the snapshot restore operation. (#9196) 8f92588 is described below commit 8f925882127bad14425d3f69c233bb0c7dbff04a Author: Pavel Pereslegin <xxt...@gmail.com> AuthorDate: Mon Jun 28 14:29:34 2021 +0300 IGNITE-14989 Fix the help message of the snapshot restore operation. (#9196) --- .../ignite/internal/commandline/snapshot/SnapshotCommand.java | 6 +++--- .../GridCommandHandlerClusterByClassTest_help.output | 6 +++--- .../GridCommandHandlerClusterByClassWithSSLTest_help.output | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/snapshot/SnapshotCommand.java b/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/snapshot/SnapshotCommand.java index b6a465a..6ab05be 100644 --- a/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/snapshot/SnapshotCommand.java +++ b/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/snapshot/SnapshotCommand.java @@ -129,13 +129,13 @@ public class SnapshotCommand extends AbstractCommand<Object> { startParams.put("group1,...groupN", "Cache group names."); Command.usage(log, "Restore snapshot:", SNAPSHOT, startParams, RESTORE.toString(), - VisorSnapshotRestoreTaskAction.START.cmdName(), "snapshot_name", optional("group1,...groupN")); + "snapshot_name", VisorSnapshotRestoreTaskAction.START.cmdName(), optional("group1,...groupN")); Command.usage(log, "Snapshot restore operation status:", SNAPSHOT, commonParams, RESTORE.toString(), - VisorSnapshotRestoreTaskAction.STATUS.cmdName(), "snapshot_name"); + "snapshot_name", VisorSnapshotRestoreTaskAction.STATUS.cmdName()); Command.usage(log, "Cancel snapshot restore operation:", SNAPSHOT, commonParams, RESTORE.toString(), - VisorSnapshotRestoreTaskAction.CANCEL.cmdName(), "snapshot_name"); + "snapshot_name", VisorSnapshotRestoreTaskAction.CANCEL.cmdName()); } /** {@inheritDoc} */ diff --git a/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output b/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output index b52ea21..ca9087e 100644 --- a/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output +++ b/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output @@ -156,20 +156,20 @@ This utility can do the following commands: snapshot_name - Snapshot name. Restore snapshot: - control.(sh|bat) --snapshot restore --start snapshot_name [group1,...groupN] + control.(sh|bat) --snapshot restore snapshot_name --start [group1,...groupN] Parameters: snapshot_name - Snapshot name. group1,...groupN - Cache group names. Snapshot restore operation status: - control.(sh|bat) --snapshot restore --status snapshot_name + control.(sh|bat) --snapshot restore snapshot_name --status Parameters: snapshot_name - Snapshot name. Cancel snapshot restore operation: - control.(sh|bat) --snapshot restore --cancel snapshot_name + control.(sh|bat) --snapshot restore snapshot_name --cancel Parameters: snapshot_name - Snapshot name. diff --git a/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output b/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output index b52ea21..ca9087e 100644 --- a/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output +++ b/modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output @@ -156,20 +156,20 @@ This utility can do the following commands: snapshot_name - Snapshot name. Restore snapshot: - control.(sh|bat) --snapshot restore --start snapshot_name [group1,...groupN] + control.(sh|bat) --snapshot restore snapshot_name --start [group1,...groupN] Parameters: snapshot_name - Snapshot name. group1,...groupN - Cache group names. Snapshot restore operation status: - control.(sh|bat) --snapshot restore --status snapshot_name + control.(sh|bat) --snapshot restore snapshot_name --status Parameters: snapshot_name - Snapshot name. Cancel snapshot restore operation: - control.(sh|bat) --snapshot restore --cancel snapshot_name + control.(sh|bat) --snapshot restore snapshot_name --cancel Parameters: snapshot_name - Snapshot name.