ARTEMIS-4372 Renaming --staticCluster as --static-cluster

This commit is contained in:
Clebert Suconic 2023-09-01 08:25:49 -04:00 committed by clebertsuconic
parent b11945e0c7
commit 78a3e66f3d
6 changed files with 10 additions and 10 deletions

View File

@ -272,7 +272,7 @@ public class Create extends InstallAbstract {
@Option(names = "--jdbc", description = "Store message data in JDBC instead of local files.")
boolean jdbc;
@Option(names = "--staticCluster", description = "Cluster node connectors list separated by comma, e.g. \"tcp://server:61616,tcp://server2:61616,tcp://server3:61616\".")
@Option(names = {"--staticCluster", "--static-cluster"}, description = "Cluster node connectors list separated by comma, e.g. \"tcp://server:61616,tcp://server2:61616,tcp://server3:61616\".")
String staticNode;
@Option(names = "--support-advisory", description = "Support advisory messages for the OpenWire protocol.")

View File

@ -200,7 +200,7 @@ public class ArtemisCreatePlugin extends ArtemisAbstractPlugin {
}
if (staticCluster != null) {
add(listCommands, "--staticCluster", staticCluster);
add(listCommands, "--static-cluster", staticCluster);
}
if (!javaOptions.isEmpty()) {

View File

@ -113,7 +113,7 @@ Usage: artemis create [--aio] [--allow-anonymous] [--autocreate] [--autodelete]
[--ssl-key-password=<sslKeyPassword>]
[--ssl-trust=<sslTrust>]
[--ssl-trust-password=<sslTrustPassword>]
[--staticCluster=<staticNode>] [--user=<user>]
[--static-cluster=<staticNode>] [--user=<user>]
[--java-options=<javaOptions>]... <directory>
Create a new broker instance.
<directory> The instance directory to hold the broker's
@ -257,7 +257,7 @@ Create a new broker instance.
authentication.
--ssl-trust-password=<sslTrustPassword>
The trust store's password.
--staticCluster=<staticNode>
--static-cluster=<staticNode>
Cluster node connectors list separated by comma, e.
g. "tcp://server:61616,tcp://server2:61616,tcp:
//server3:61616".

View File

@ -128,7 +128,7 @@ SYNOPSIS
[--role <role>] [--security-manager <securityManager>] [--shared-store]
[--silent] [--slave] [--ssl-key <sslKey>]
[--ssl-key-password <sslKeyPassword>] [--ssl-trust <sslTrust>]
[--ssl-trust-password <sslTrustPassword>] [--staticCluster <staticNode>]
[--ssl-trust-password <sslTrustPassword>] [--static-cluster <staticNode>]
[--use-client-auth] [--user <user>] [--verbose] [--] <directory>
OPTIONS
@ -337,7 +337,7 @@ OPTIONS
--ssl-trust-password <sslTrustPassword>
The trust store password
--staticCluster <staticNode>
--static-cluster <staticNode>
Cluster node connectors list, separated by comma: Example
"tcp://server:61616,tcp://server2:61616,tcp://server3:61616"

View File

@ -1199,7 +1199,7 @@
<arg>--name</arg>
<arg>cluster1</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61716</arg>
<arg>--max-hops</arg>
<arg>1</arg>
@ -1227,7 +1227,7 @@
<arg>--name</arg>
<arg>cluster2</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61616</arg>
<arg>--max-hops</arg>
<arg>1</arg>

View File

@ -386,7 +386,7 @@
<arg>--java-options</arg>
<arg>-Djava.rmi.server.hostname=localhost</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61716</arg>
<arg>--queues</arg>
<arg>ClusteredLargeMessageInterruptTest</arg>
@ -414,7 +414,7 @@
<arg>--java-options</arg>
<arg>-Djava.rmi.server.hostname=localhost</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61616</arg>
<arg>--queues</arg>
<arg>ClusteredLargeMessageInterruptTest</arg>