This is an automated email from the ASF dual-hosted git repository.
yong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 7d1a7a3 update the "-cluster" parameter in the
delete-cluster-metadata command to "--cluster" (#9487)
7d1a7a3 is described below
commit 7d1a7a31ac2abc6765fdd234750fee71c2804136
Author: YANGLiiN <[email protected]>
AuthorDate: Sat Feb 6 07:07:30 2021 -0600
update the "-cluster" parameter in the delete-cluster-metadata command to
"--cluster" (#9487)
* update the "-cluster" parameter in the delete-cluster-metadata command to
"--cluster"
### Motivation
* update the **-cluster** parameter in the delete-cluster-metadata command
to **--cluster**. *
### Modifications
* update the **-cluster** parameter in the delete-cluster-metadata command
to **--cluster**. *
* keeping the old way, and add the new parameter --cluster
---
.../src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java
b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java
index 80b34cb..efdc174 100644
---
a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java
+++
b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataTeardown.java
@@ -55,7 +55,7 @@ public class PulsarClusterMetadataTeardown {
}, description = "Local zookeeper session timeout ms")
private int zkSessionTimeoutMillis = 30000;
- @Parameter(names = { "-c", "-cluster" }, description = "Cluster name")
+ @Parameter(names = { "-c", "-cluster", "--cluster" }, description =
"Cluster name")
private String cluster;
@Parameter(names = { "-cs", "--configuration-store" }, description =
"Configuration Store connection string")