getCommands().put( command.getName(), command );
commands.put( command.getName(), command ); commandsOrdered.add( command.getName() );
    protected void init()    {        ToolCommand command;        command = new DumpCommand();        getCommands().put( command.getName(), command );        command = new GracefulShutdownCommand();        getCommands().put( command.getName(), command );        command = new DiagnosticCommand();        getCommands().put( command.getName(), command );        command = new DisconnectNotificationCommand();        getCommands().put( command.getName(), command );        Option op = new Option( "i", "install-path", true, "path to installation directory" );        getGlobal().addOption( op );        op = new Option( "b", "banner", false, "suppress banner print outs" );        getGlobal().addOption( op );        op = new Option( "d", "debug", false, "toggle debug mode" );        getGlobal().addOption( op );        op = new Option( "v", "verbose", false, "toggle verbose debugging" );        getGlobal().addOption( op );        op = new Option( "q", "quiet", false, "keep the noise down to a minimum" );        getGlobal().addOption( op );        op = new Option( "c", "configuration", false, "force loading the server.xml (requires -i)" );        getGlobal().addOption( op );        op = new Option( "version", false, "print the version information and exit" );        getGlobal().addOption( op );    }