ToolCommand cmd = (ToolCommand) getCommands().get( command );
BaseToolCommandCL cmd = ( BaseToolCommandCL ) getCommands().get( command );
    public Options allOptions( String command )    {        if ( command.equals( "help" ) )        {            return getGlobal();        }        Options all = new Options();        ToolCommand cmd = (ToolCommand) getCommands().get( command );        for ( Iterator ii = getGlobal().getOptions().iterator(); ii.hasNext(); )        {            all.addOption( (Option) ii.next() );        }        for ( Iterator ii = cmd.getOptions().getOptions().iterator(); ii.hasNext(); )        {            all.addOption( (Option) ii.next() );        }        return all;    }