activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r555911 - /activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java
Date Fri, 13 Jul 2007 08:30:45 GMT
Author: aco
Date: Fri Jul 13 01:30:44 2007
New Revision: 555911

URL: http://svn.apache.org/viewvc?view=rev&rev=555911
Log:
Print help, if an invalid argument is given to the command line.
https://issues.apache.org/activemq/browse/AMQ-1314

Modified:
    activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java

Modified: activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java?view=diff&rev=555911&r1=555910&r2=555911
==============================================================================
--- activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java
(original)
+++ activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/AbstractCommand.java
Fri Jul 13 01:30:44 2007
@@ -103,7 +103,8 @@
 
         // Token is unrecognized
         else {
-            GlobalWriter.printInfo("Ignoring unrecognized option: " + token);
+            GlobalWriter.printInfo("Unrecognized option: " + token);
+            isPrintHelp = true;
         }
     }
 



Mime
View raw message