aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-02 15:24:30 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-03 17:36:55 +0530
commit94b4bd0441a3ba57b8e2b69d1533312ddc95c42b (patch)
tree4c2637b01eab24735af7e1211c1f9d709bbe15c9 /main/src
parentee5da88f569380dc337c8ab686a4bc6883fc5b86 (diff)
Reuse Constants values instead of redefining
Issue-ID: CLI-100 Change-Id: I9aafa8b652d254c90ef7c4d96455218ceca5e66e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/org/onap/cli/main/conf/OnapCliConstants.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/main/java/org/onap/cli/main/conf/OnapCliConstants.java b/main/src/main/java/org/onap/cli/main/conf/OnapCliConstants.java
index 4389a8cc..edacc68b 100644
--- a/main/src/main/java/org/onap/cli/main/conf/OnapCliConstants.java
+++ b/main/src/main/java/org/onap/cli/main/conf/OnapCliConstants.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 Huawei Technologies Co., Ltd.
+ * Copyright 2017-18 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,13 +42,13 @@ public final class OnapCliConstants {
public static final String PARAM_INTERACTIVE_USE_MSG = "To set the current product version, more details please check version";
public static final String PARAM_INTERACTIVE_HELP = "help";
public static final String PARAM_INTERACTIVE_HELP_MSG = "To get the help details of supported commands";
- public static final String PARAM_INTERACTIVE_VERSION = "version";
+ public static final String PARAM_INTERACTIVE_VERSION = PARAM_VERSION_LONG;
public static final String PARAM_INTERACTIVE_VERSION_MSG = "To see the version details";
public static final String PARAM_INTERACTIVE_SET = "set";
public static final String PARAM_INTERACTIVE_SET_MSG = "To set the parameter values. Once its set, will be available for all commands in current session.";
public static final String PARAM_INTERACTIVE_UNSET = "unset";
public static final String PARAM_INTERACTIVE_UNSET_MSG = "To unset the parameter value in current session.";
- public static final String PARAM_INTERACTIVE_PROFILE = "profile";
+ public static final String PARAM_INTERACTIVE_PROFILE = PARAM_PROFILE_LONG;
public static final String PARAM_INTERACTIVE_PROFILE_MSG = "Start profiling current settings made of use, set.";
public static final String PARAM_INTERACTIVE_ARG_SPLIT_PATTERN = "\\s+";