formatter.printHelp( getProductCommand() + " <command> [options]", "\nGlobal options:", getGlobal(), "\nType \"" + getProductCommand() + " help <command>\" for help on a command." ); System.out.println( "\nAvalable commands:" ); Iterator it = getCommands().values().iterator();
formatter.printHelp( getProductCommand() + " <command> [options]", "\nGlobal options:", getGlobal(), "\nType \"" + getProductCommand() + " help <command>\" for help on a command." ); System.out.println( "\nAvailable commands:" );  Iterator it = commandsOrdered.iterator();
    public void printUsage()    {        HelpFormatter formatter = new HelpFormatter();        formatter.printHelp( getProductCommand() + " <command> [options]", "\nGlobal options:", getGlobal(),            "\nType \"" + getProductCommand() + " help <command>\" for help on a command." );        System.out.println( "\nAvalable commands:" );        Iterator it = getCommands().values().iterator();        System.out.println( "\thelp" );        while ( it.hasNext() )        {            System.out.println( "\t" + it.next() );        }        System.out.println( "\nThese tools are used to manage " + getProductDisplayName() + "." );        System.out.println( "For additional information, see " + getProductUrl() );    }