Here you can find the source of printUsage(String[] args)
private static void printUsage(String[] args)
//package com.java2s; import java.util.Arrays; public class Main { private static void printUsage(String[] args) { System.out.println("Invalid arguments: " + Arrays.asList(args).toString() + "\n"); System.out//from ww w .j a va 2 s .c o m .println("Usage: TestRecordsUtil -n <numRecords> -o <delete|insert|upsert> -q <account number pattern>"); System.out .println("\nExample:\n\tTestRecordsUtil -o delete -q \"where AccountNumber like 'ACCT%'\""); System.exit(-1); } }