if (arg.equals ("-logging"))
if (arg.equals ("--logging"))
    protected final void parseParams (String args[])        throws CommandLineUsageException    {        ArrayIterator it = new ArrayIterator (args);        try        {            while (it.hasNext())            {                String arg = (String) it.next();                if (! (arg.charAt (0) == '-') )                    break;                if (arg.equals ("-logging"))                    Logger.enableLogging();                else                    parseCustomOption (arg, it);            }            // Move iterator back, since we've already advanced past the            // last option and retrieved the first non-option.            it.previous();            processPostOptionCommandLine (it);            // Should be no parameters left now.            if (it.hasNext())                throw new CommandLineUsageException ("Too many parameters.");        }        catch (NoSuchElementException ex)        {            throw new CommandLineUsageException ("Missing parameter(s)");        }        catch (ArrayIndexOutOfBoundsException ex)        {            throw new CommandLineUsageException ("Missing parameter(s)");        }    }