Java Array Print printUsage(String[] args)

Here you can find the source of printUsage(String[] args)

Description

print Usage

License

Open Source License

Declaration

private static void printUsage(String[] args) 

Method Source Code

//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);
    }
}

Related

  1. println(Object[] objs)
  2. printMap1(String[] s)
  3. printOutArrayProperty(String key, E[] property, boolean isDefault)
  4. printParameterMap(Map parameters)
  5. printPoint(double[] ds)
  6. printVector(T array[])
  7. printWithIndex(double[] arr)
  8. toPrintableString(final byte[] bytes)