activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1237037 - /activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala
Date Sat, 28 Jan 2012 10:42:52 GMT
Author: chirino
Date: Sat Jan 28 10:42:52 2012
New Revision: 1237037

URL: http://svn.apache.org/viewvc?rev=1237037&view=rev
Log:
Fixes APLO-137 : apollo script should echo usage when called with no arguments

Modified:
    activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala

Modified: activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala?rev=1237037&r1=1237036&r2=1237037&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/Apollo.scala
Sat Jan 28 10:42:52 2012
@@ -133,7 +133,7 @@ class Apollo extends Main with Action {
   var log_level:String = "NONE"
 
   @argument(name = "args", description = "apollo sub command arguments", multiValued=true)
-  var args:Array[String] = _
+  var args:Array[String] = Array()
 
   def execute(session: CommandSession): AnyRef = {
     



Mime
View raw message