aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/src/main/java/org/onap/cli/fw/store/OnapCommandProfileStore.java4
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java1
2 files changed, 3 insertions, 2 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandProfileStore.java b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandProfileStore.java
index 4be5bcd8..09ecf05a 100644
--- a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandProfileStore.java
+++ b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandProfileStore.java
@@ -184,8 +184,8 @@ public class OnapCommandProfileStore {
ObjectMapper mapper = new ObjectMapper();
OnapCommandParamEntity[] list = mapper.readValue(file, OnapCommandParamEntity[].class);
params.addAll(Arrays.asList(list));
- } else {
- throw new OnapCommandProfileNotFound(profileName);
+// } else {
+// throw new OnapCommandProfileNotFound(profileName);
}
} catch (IOException e) {
throw new OnapCommandProfileLoadFailed(e);
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 0392daec..582be3c8 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -436,6 +436,7 @@ public class OnapCli {
continue;
}
+ this.setArgs(this.args.toArray(new String [] {}));
handleCommand();
}
}