lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.0.0.rc1 vs lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.0.0.rc2
- old
+ new
@@ -7,9 +7,17 @@
#
# @example
#
# puts client.cat.master
#
+ # @example Display header names in the output
+ #
+ # puts client.cat.master v: true
+ #
+ # @example Return the information as Ruby objects
+ #
+ # client.cat.master format: 'json'
+ #
# @option arguments [List] :h Comma-separated list of column names to display -- see the `help` argument
# @option arguments [Boolean] :v Display column headers as part of the output
# @option arguments [String] :format The output format. Options: 'text', 'json'; default: 'text'
# @option arguments [Boolean] :help Return information about headers
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node