geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703351 - /geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
Date Fri, 10 Oct 2008 08:21:18 GMT
Author: jdillon
Date: Fri Oct 10 01:21:18 2008
New Revision: 703351

URL: http://svn.apache.org/viewvc?rev=703351&view=rev
Log:
Fixed use of additional args (w/o -c flag)

Modified:
    geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java

Modified: geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java?rev=703351&r1=703350&r2=703351&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
(original)
+++ geronimo/gshell/trunk/gshell-cli/src/main/java/org/apache/geronimo/gshell/cli/Main.java
Fri Oct 10 01:21:18 2008
@@ -245,7 +245,7 @@
             // clp gives us a list, but we need an array
             String[] _args = {};
             if (commandArgs != null) {
-                commandArgs.toArray(new String[commandArgs.size()]);
+                _args = commandArgs.toArray(new String[commandArgs.size()]);
             }
 
             if (commands != null) {



Mime
View raw message