diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-03-07 20:41:06 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-03-08 11:18:10 +0530 |
commit | b766ec88e50cd7c6d8ca1cd02622625b8c27f5e1 (patch) | |
tree | 486cc8ed11f8a336722f080e25a0908ed8320cdd /main/src | |
parent | a74a9b50f244f49a38ba36b2b59b3c8e23649949 (diff) |
Add support for profile include exclude
Issue-ID: CLI-95
Change-Id: I454020229481e2893459f7b29bf815bc0c701bed
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/OnapCli.java | 5 |
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<>(); } |