ToolCommand cmd = (ToolCommand) getCommands().get( command );
BaseToolCommandCL cmd = ( BaseToolCommandCL ) getCommands().get( command );
    public void helpOnCommand( String command )    {        if ( command.equals( "help" ) )        {            printUsage();            System.exit( 0 );        }        if ( getCommands().containsKey( command ) )        {            ToolCommand cmd = (ToolCommand) getCommands().get( command );            HelpFormatter formatter = new HelpFormatter();            formatter.printHelp( getProductCommand() + " " + cmd + " [options]", cmd.getOptions() );        }        else        {            System.err.println( command + ": unknown command" );            System.exit( 1 );        }    }