Fix usage print out.

This commit is contained in:
agibert 2008-01-03 13:45:42 +00:00
parent ded4a3926f
commit 99d17a844e
2 changed files with 18 additions and 10 deletions

View File

@ -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] <Output_MsgQueue_Name> <Input_File_Name>");
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] <Output_MsgQueue_Name> <Input_File_Name>");
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();

View File

@ -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,