@@ -159,8 +159,8 @@ public static void main(String [] args, PerfTestOptions perfTestOptions) {
159159 factory .setRequestedHeartbeat (heartbeat );
160160
161161 String queuePattern = strArg (cmd , "qp" , null );
162- int from = intArg (cmd , 'F' , -1 );
163- int to = intArg (cmd , 'T' , -1 );
162+ int from = intArg (cmd , "qpf" , -1 );
163+ int to = intArg (cmd , "qpt" , -1 );
164164
165165 if (queuePattern != null || from >= 0 || to >= 0 ) {
166166 if (queuePattern == null || from < 0 || to < 0 ) {
@@ -341,8 +341,8 @@ private static Options getOptions() {
341341 options .addOption (new Option ("v" , "version" , false ,"print version information" ));
342342
343343 options .addOption (new Option ("qp" , "queue-pattern" , true , "queue name pattern for creating queues in sequence" ));
344- options .addOption (new Option ("F " , "queue-pattern-from" , true , "sequence start for queue pattern (included )" ));
345- options .addOption (new Option ("T " , "queue-pattern-to" , true , "sequence end for queue pattern (included )" ));
344+ options .addOption (new Option ("qpf " , "queue-pattern-from" , true , "queue name pattern range start (inclusive )" ));
345+ options .addOption (new Option ("qpt " , "queue-pattern-to" , true , "queue name pattern range end (inclusive )" ));
346346 options .addOption (new Option ("hst" , "heartbeat-sender-threads" , true , "number of threads for producers and consumers heartbeat senders" ));
347347 options .addOption (new Option ("mp" , "message-properties" , true , "message properties as key/pair values, separated by commas, "
348348 + "e.g. priority=5" ));
0 commit comments