scripts/mysql_debug/ghetto_profile.rb
# Parse options, check arguments, then process the command
Parse options, check arguments, then process the command
Parse options check arguments then process the command
def run
        return output_usage if not (parsed_options? && arguments_valid?) 
        return do_stats if @options.stats
        return do_attach if @options.attach
        return do_detach if @options.detach
    end
def run return output_usage if not ( parsed_options? && arguments_valid? ) return do_stats if @options . stats return do_attach if @options . attach return do_detach if @options . detach end
Parse options, check arguments, then process the command
Parse options check arguments then process the command