class Byebug::DeleteCommand

def execute

def execute
  unless @match[1]
    if confirm(pr('break.confirmations.delete_all'))
      Byebug.breakpoints.clear
    end
    return nil
  end
  @match[1].split(/[ \t]+/).each do |number|
    pos, err = get_int(number, 'Delete', 1)
    return errmsg(err) unless pos
    unless Breakpoint.remove(pos)
      return errmsg(pr('break.errors.no_breakpoint_delete', pos: pos))
    end
  end
end