Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDFD19900 for ; Sat, 28 Jan 2012 10:43:25 +0000 (UTC) Received: (qmail 63314 invoked by uid 500); 28 Jan 2012 10:43:25 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 63241 invoked by uid 500); 28 Jan 2012 10:43:19 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 63230 invoked by uid 99); 28 Jan 2012 10:43:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 10:43:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 10:43:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E41F62388900 for ; Sat, 28 Jan 2012 10:42:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120128104252.E41F62388900@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 = {