private void helpAction(String arg) {
        if (arg == null) {
            printMainUsage();
            return;
        }

        String helpTarget = arg.toLowerCase();

        if (helpTarget.equals(ACTION_VIEW)) {
            printViewUsage();
        } else if (helpTarget.equals(ACTION_COPY)) {
            printCopyUsage();
        } else if (helpTarget.equals(ACTION_LISTINSTANCES)) {
            printListInstancesUsage();
        } else {
            printMainUsage();
        }
    }
private void helpAction ( String arg ) { if ( arg == null ) { printMainUsage ( ) ; return ; } String helpTarget = arg . toLowerCase ( ) ; if ( helpTarget . equals ( ACTION_VIEW ) ) { printViewUsage ( ) ; } else if ( helpTarget . equals ( ACTION_COPY ) ) { printCopyUsage ( ) ; } else if ( helpTarget . equals ( ACTION_LISTINSTANCES ) ) { printListInstancesUsage ( ) ; } else { printMainUsage ( ) ; } }
/*
Prints the appropriate help, based on the arg