diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-06 12:28:02 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-06 12:28:02 +0530 |
commit | 271cc28e5ad26cdc72db5b3b837545e717c6f225 (patch) | |
tree | ea61b29ef4444c2f9c276244c019ef57e73a6fae /main | |
parent | 0cb830f903d622674770684f8ea633c405bb7d6b (diff) |
Add support for running oclip from windows shell
Issue-ID: CLI-66
Change-Id: Id12759d0b7afcc29c6ee9d3f4c504925f09074c9
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/cli/main/OnapCli.java | 1 |
1 files changed, 1 insertions, 0 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 15f845b6..67be81bb 100644 --- a/main/src/main/java/org/onap/cli/main/OnapCli.java +++ b/main/src/main/java/org/onap/cli/main/OnapCli.java @@ -203,6 +203,7 @@ public class OnapCli { String line = null; while ((line = console.readLine()) != null) { + line = line.trim(); if (OnapCliConstants.PARAM_INTERACTIVE_EXIT.equalsIgnoreCase(line)) { break; } else if (OnapCliConstants.PARAM_INTERACTIVE_CLEAR.equalsIgnoreCase(line)) { |