From 7bc0510954789ec3b142eab177df2382070fd242 Mon Sep 17 00:00:00 2001 From: agibert Date: Thu, 3 Jan 2008 13:46:01 +0000 Subject: [PATCH] Fix usage print out. --- MQSSave.java | 16 ++++++++-------- ReleaseNotes.txt | 12 ++++++++++-- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/MQSSave.java b/MQSSave.java index 25efa1d..51b6226 100644 --- a/MQSSave.java +++ b/MQSSave.java @@ -1,7 +1,7 @@ // $RCSfile: MQSSave.java,v $ -// $Revision: 1.13 $ +// $Revision: 1.14 $ // $Name: $ -// $Date: 2007/12/11 16:50:50 $ +// $Date: 2008/01/03 13:46:01 $ // $Author: agibert $ /* @@ -47,9 +47,9 @@ public class MQSSave private boolean Trim_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 String MQSSave_Revision = "$Revision: 1.13 $"; + private String MQSSave_Revision = "$Revision: 1.14 $"; 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 Integer Sleep_Time = 0; @@ -850,8 +850,8 @@ public class MQSSave if( ( args.length < 2) || ( args.length > 7)) { - System.out.println( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-mb \"message_break\"] [-tisbm [-ffn ] | -cm ] [-tm] [-mbtm] "); - 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( "Usage: MQSSave [-qm \"Input_QueueMng_Name\"] [-st \"sleep_time\"] [-mb \"message_break\"] [-tisbm [-ffn ] | -cm ] [-tm] [-mbtm] "); + 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); } @@ -861,8 +861,8 @@ public class MQSSave 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( "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( "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( "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(); diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index d275fe1..6aff45a 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,13 +1,21 @@ # $RCSfile: ReleaseNotes.txt,v $ -# $Revision: 1.10 $ +# $Revision: 1.11 $ # $Name: $ -# $Date: 2007/12/11 16:50:50 $ +# $Date: 2008/01/03 13:46:01 $ # $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 --------------------------------------------------------------------------------