From 99d17a844eee34480ceb344ba782f011c5ac03de Mon Sep 17 00:00:00 2001 From: agibert Date: Thu, 3 Jan 2008 13:45:42 +0000 Subject: [PATCH] Fix usage print out. --- MQSLoad.java | 14 +++++++------- ReleaseNotes.txt | 14 +++++++++++--- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/MQSLoad.java b/MQSLoad.java index 7700812..2944c9f 100644 --- a/MQSLoad.java +++ b/MQSLoad.java @@ -1,7 +1,7 @@ // $RCSfile: MQSLoad.java,v $ -// $Revision: 1.10 $ +// $Revision: 1.11 $ // $Name: $ -// $Date: 2007/12/11 16:46:37 $ +// $Date: 2008/01/03 13:45:42 $ // $Author: agibert $ /* @@ -45,9 +45,9 @@ public class MQSLoad private String Message_Break = "\r\n"; private String Message_Tail = ""; private boolean Keep_Message_Break = false; - private String MQSLoad_Revision = "$Revision: 1.10 $"; + private String MQSLoad_Revision = "$Revision: 1.11 $"; private String MQSLoad_Tag = "$Name: $"; - private String MQSLoad_Date = "$Date: 2007/12/11 16:46:37 $"; + private String MQSLoad_Date = "$Date: 2008/01/03 13:45:42 $"; private String MQSLoad_Author = "$Author: agibert $"; private Integer Sleep_Time = 0; @@ -595,8 +595,8 @@ public class MQSLoad if( ( args.length < 2) || ( args.length > 8)) { - System.out.println( "Usage: MQSLoad [-qm \"Output_QueueMng_Name\"] [-fb \"field_break\"] [-mb \"message_break\"] [-mt \"message_tail\"] [-kmb] "); - System.out.println( " Default: Output QueueMng Name: (" + QMng_Name + ") Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Message Tail: (" + Str_UnFormat( Message_Tail) + ") Sleep Time: (" + Sleep_Time + ") Keep Message Break: (" + Keep_Message_Break + ")"); + System.out.println( "Usage: MQSLoad [-qm \"Output_QueueMng_Name\"] [-st \"sleep_time\"] [-fb \"field_break\"] [-mb \"message_break\"] [-mt \"message_tail\"] [-kmb] "); + System.out.println( " Default: Output QueueMng Name: (" + QMng_Name + ") Sleep Time: (" + Sleep_Time + ") Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Message Tail: (" + Str_UnFormat( Message_Tail) + ") Keep Message Break: (" + Keep_Message_Break + ")"); System.exit( 1); } @@ -607,7 +607,7 @@ public class MQSLoad Arg_Parse( args); System.out.println( "Output QueueMng Name: (" + QMng_Name + ") Output MsgQueue Name: (" + MsgQ_Name + ") Input File Name: (" + File_Name + ")"); - System.out.println( "Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Message Tail: (" + Str_UnFormat( Message_Tail) + ") Sleep Time: (" + Sleep_Time + ") Keep Message Break: (" + Keep_Message_Break + ")"); + System.out.println( "Sleep Time: (" + Sleep_Time + ") Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Message Tail: (" + Str_UnFormat( Message_Tail) + ") Keep Message Break: (" + Keep_Message_Break + ")"); MQSInit(); diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 4635d56..fe9178d 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,13 +1,21 @@ # $RCSfile: ReleaseNotes.txt,v $ -# $Revision: 1.8 $ +# $Revision: 1.9 $ # $Name: $ -# $Date: 2007/12/11 16:46:37 $ +# $Date: 2008/01/03 13:45:42 $ # $Author: agibert $ +-------------------------------------------------------------------------------- +MQSLoad V 1.3.1 - A. Gibert - 2008/01/03 +-------------------------------------------------------------------------------- + +Fix usage print out. + + + -------------------------------------------------------------------------------- MQSLoad V 1.3.0 - C. Colin / A. Gibert - 2007/12/10 -------------------------------------------------------------------------------- @@ -67,7 +75,7 @@ Add GPL and FDL licenses files. -------------------------------------------------------------------------------- -MQSLoad V 1.0.0 - A. Gibert - 20001/07/12 +MQSLoad V 1.0.0 - A. Gibert - 2001/07/12 -------------------------------------------------------------------------------- First release,