notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1833 - development/main/transit/core/plugin/src/main/net/dpml/transit/control
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1833 - development/main/transit/core/plugin/src/main/net/dpml/transit/control
- Date: Sat, 19 Feb 2005 23:33:09 +0100
Author: mcconnell
Date: Sat Feb 19 23:33:08 2005
New Revision: 1833
Modified:
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Log:
remove listing of help message when requesting just version info
Modified:
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
==============================================================================
---
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
(original)
+++
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Sat Feb 19 23:33:08 2005
@@ -164,7 +164,7 @@
String target = line.getOptionValue( "load" );
m_payload = getLoadArguments( target );
}
- else
+ else if( false == line.hasOption( "Xversion" ) )
{
m_command = "unknown";
}
@@ -176,7 +176,11 @@
*/
public void run()
{
- if( "get".equals( m_command ) )
+ if( null == m_command )
+ {
+ return;
+ }
+ else if( "get".equals( m_command ) )
{
handleGetCommand( m_payload );
}
- svn commit: r1833 - development/main/transit/core/plugin/src/main/net/dpml/transit/control, mcconnell, 02/19/2005
Archive powered by MHonArc 2.6.24.