module Elasticsearch
  module API
    module Cat
      module Actions

        # Help information for the Cat API
        #
        # @option arguments [Boolean] :help Return help information
        #
        # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html
        #
        def help(arguments={})
          valid_params = [
            :help ]
          method = 'GET'
          path   = "_cat"
          params = Utils.__validate_and_extract_params arguments, valid_params
          body   = nil

          perform_request(method, path, params, body).body
        end
      end
    end
  end
end
