From 7d1a7a31ac2abc6765fdd234750fee71c2804136 Mon Sep 17 00:00:00 2001 From: YANGLiiN Date: Sat, 6 Feb 2021 07:07:30 -0600 Subject: [PATCH] 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 --- .../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 80b34cb1cb66f..efdc174693178 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 @@ private static class Arguments { }, 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")