class Byebug::EnableDisableCommand

def execute

def execute
  cmd = @match[1] == 'dis' ? 'disable' : 'enable'
  return errmsg("\"#{cmd}\" must be followed by \"display\", " \
                "\"breakpoints\" or breakpoint ids") unless @match[2]
  args = @match[2].split(/[ \t]+/)
  param = args.shift
  subcmd = Command.find(Subcommands, param)
  if subcmd
    send("#{cmd}_#{subcmd.name}", args)
  else
    send("#{cmd}_breakpoints", args.unshift(param))
  end
end