aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java
index ca3c365f..aa1f1e7a 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -142,7 +142,10 @@ public class OnapCli {
if ((args.size() == 2) && (this.getLongOption(OnapCliConstants.PARAM_PROFILE_LONG).equals(args.get(0))
|| this.getShortOption(OnapCliConstants.PARAM_PROFILE_SHORT).equals(args.get(0)))) {
- OnapCommandRegistrar.getRegistrar().setProfile(args.get(1));
+ OnapCommandRegistrar.getRegistrar().setProfile(
+ args.get(1),
+ new ArrayList<String>(),
+ new ArrayList<String>());
//Make space of interactive mode
this.args = new ArrayList<>();
}