Repository: incubator-stratos
Updated Branches:
  refs/heads/master 6892d2103 -> 160a6e460


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/160a6e46
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/160a6e46
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/160a6e46

Branch: refs/heads/master
Commit: 160a6e46058478fcc80ba29e47bc5aeb83df1645
Parents: 6892d21
Author: Chris Snow <[email protected]>
Authored: Sun May 11 06:01:55 2014 +0000
Committer: Chris Snow <[email protected]>
Committed: Sun May 11 06:01: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/160a6e46/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