From f0a3bb4498fa4de117484d78f64a155d4fab0144 Mon Sep 17 00:00:00 2001 From: Viraj Date: Tue, 30 Apr 2019 00:01:39 +0530 Subject: [PATCH] change -etcd paramter to --etcd --- .../src/main/java/org/wso2/apimgt/gateway/cli/cmd/InitCmd.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/micro-gateway-cli/src/main/java/org/wso2/apimgt/gateway/cli/cmd/InitCmd.java b/components/micro-gateway-cli/src/main/java/org/wso2/apimgt/gateway/cli/cmd/InitCmd.java index 224fbb23b8..8d54797c86 100644 --- a/components/micro-gateway-cli/src/main/java/org/wso2/apimgt/gateway/cli/cmd/InitCmd.java +++ b/components/micro-gateway-cli/src/main/java/org/wso2/apimgt/gateway/cli/cmd/InitCmd.java @@ -54,7 +54,8 @@ public class InitCmd implements GatewayLauncherCmd { @Parameter(names = {"-d", "--deployment-config"}, hidden = true) private String deploymentConfigPath; - @Parameter(names = { "-etcd", "--enable-etcd" }, hidden = true, arity = 0) + @SuppressWarnings("unused") + @Parameter(names = {"--etcd"}, hidden = true, arity = 0) private boolean isEtcdEnabled; @Parameter(names = {"--help", "-h", "?"}, hidden = true, description = "for more information", help = true)