Repository: incubator-stratos
Updated Branches:
  refs/heads/stratos-651-cli-test-suite cb3a22e8c -> 8255890ee


fixing https://issues.apache.org/jira/browse/STRATOS-650


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/8255890e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/8255890e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/8255890e

Branch: refs/heads/stratos-651-cli-test-suite
Commit: 8255890eee47f16c981fce463108a28de3e44613
Parents: cb3a22e
Author: Chris Snow <[email protected]>
Authored: Sun May 11 06:01:55 2014 +0000
Committer: Chris Snow <[email protected]>
Committed: Sun May 11 06:08:55 2014 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/stratos/cli/StratosApplication.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/8255890e/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
index e4bc0c0..dc76667 100644
--- 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
+++ 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
@@ -279,7 +279,7 @@ public class StratosApplication extends 
CommandLineApplication<StratosCommandCon
                                        allCommandOptions.addOption((Option) o);
                                }
                                
-                               commandLine = parser.parse(allCommandOptions, 
args);
+                               commandLine = parser.parse(options, args, true);
                                remainingArgs = commandLine.getArgs();
                                if (remainingArgs != null && 
remainingArgs.length > 0) {
                                        // Get command action

Reply via email to