Fix usage print out.

This commit is contained in:
agibert 2008-01-03 13:46:01 +00:00
parent d46511d384
commit 7bc0510954
2 changed files with 18 additions and 10 deletions

View File

@ -1,7 +1,7 @@
// $RCSfile: MQSSave.java,v $ // $RCSfile: MQSSave.java,v $
// $Revision: 1.13 $ // $Revision: 1.14 $
// $Name: $ // $Name: $
// $Date: 2007/12/11 16:50:50 $ // $Date: 2008/01/03 13:46:01 $
// $Author: agibert $ // $Author: agibert $
/* /*
@ -47,9 +47,9 @@ public class MQSSave
private boolean Trim_Mode = false; private boolean Trim_Mode = false;
private boolean MBTrailer_Mode = false; private boolean MBTrailer_Mode = false;
private int Total_Nb = 0, Moved_Nb = 0, Skiped_Nb = 0, Scaned_Nb = 0, Flushed_Nb = 0; private int Total_Nb = 0, Moved_Nb = 0, Skiped_Nb = 0, Scaned_Nb = 0, Flushed_Nb = 0;
private String MQSSave_Revision = "$Revision: 1.13 $"; private String MQSSave_Revision = "$Revision: 1.14 $";
private String MQSSave_Tag = "$Name: $"; private String MQSSave_Tag = "$Name: $";
private String MQSSave_Date = "$Date: 2007/12/11 16:50:50 $"; private String MQSSave_Date = "$Date: 2008/01/03 13:46:01 $";
private String MQSSave_Author = "$Author: agibert $"; private String MQSSave_Author = "$Author: agibert $";
private Integer Sleep_Time = 0; private Integer Sleep_Time = 0;
@ -850,8 +850,8 @@ public class MQSSave
if( ( args.length < 2) || ( args.length > 7)) if( ( args.length < 2) || ( args.length > 7))
{ {
System.out.println( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-mb \"message_break\"] [-tisbm [-ffn <Flush_File_Name>] | -cm ] [-tm] [-mbtm] <Output_File_Name> <Input_MsgQueue_Name>"); System.out.println( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-st \"sleep_time\"] [-mb \"message_break\"] [-tisbm [-ffn <Flush_File_Name>] | -cm ] [-tm] [-mbtm] <Output_File_Name> <Input_MsgQueue_Name>");
System.out.println( " Default: Input QueueMng Name: (" + QMng_Name + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Flush File Name: (" + Flush_File_Name + ") Sleep Time: (" + Sleep_Time + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")"); System.out.println( " Default: Input QueueMng Name: (" + QMng_Name + ") Sleep Time: (" + Sleep_Time + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Flush File Name: (" + Flush_File_Name + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
System.exit( 1); System.exit( 1);
} }
@ -861,8 +861,8 @@ public class MQSSave
Arg_Parse( args); Arg_Parse( args);
System.out.println( "Output File Name: (" + Output_File_Name + ") Input QueueMng Name: (" + QMng_Name + ") Input MsgQue Name: (" + MsgQ_Name + ") Flush File Name: (" + Flush_File_Name + ") Sleep Time: (" + Sleep_Time + ")"); System.out.println( "Output File Name: (" + Output_File_Name + ") Input QueueMng Name: (" + QMng_Name + ") Input MsgQue Name: (" + MsgQ_Name + ") Flush File Name: (" + Flush_File_Name + ")");
System.out.println( "Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")"); System.out.println( "Sleep Time: (" + Sleep_Time + ") Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Copy Mode: (" + Copy_Mode + ") Trim Mode: (" + Trim_Mode + ") MsgBreak Trailer Mode: (" + MBTrailer_Mode + ")");
MQSInit(); MQSInit();

View File

@ -1,13 +1,21 @@
# $RCSfile: ReleaseNotes.txt,v $ # $RCSfile: ReleaseNotes.txt,v $
# $Revision: 1.10 $ # $Revision: 1.11 $
# $Name: $ # $Name: $
# $Date: 2007/12/11 16:50:50 $ # $Date: 2008/01/03 13:46:01 $
# $Author: agibert $ # $Author: agibert $
--------------------------------------------------------------------------------
MQSSave V 1.3.1 - A. Gibert - 2008/01/03
--------------------------------------------------------------------------------
Fix usage print out.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
MQSSave V 1.3.0 - C. Colin / A. Gibert - 2007/12/10 MQSSave V 1.3.0 - C. Colin / A. Gibert - 2007/12/10
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------