@@ -134,18 +134,20 @@ def master(self, params=None):
134
134
params = params )
135
135
return data
136
136
137
- @query_params ('bytes' , 'h' , 'help' , 'local' , 'master_timeout' , 'v' )
137
+ @query_params ('bytes' , 'h' , 'help' , 'local' , 'master_timeout' , 'time' , ' v' )
138
138
def nodes (self , params = None ):
139
139
"""
140
140
The nodes command shows the cluster topology.
141
141
`<http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html>`_
142
142
143
+ :arg bytes: The unit in which to display byte values
143
144
:arg h: Comma-separated list of column names to display
144
145
:arg help: Return help information, default False
145
146
:arg local: Return local information, do not retrieve the state from
146
147
master node (default: false)
147
148
:arg master_timeout: Explicit operation timeout for connection to master
148
149
node
150
+ :arg time: The unit in which to display time values
149
151
:arg v: Verbose mode. Display column headers, default False
150
152
"""
151
153
_ , data = self .transport .perform_request ('GET' , '/_cat/nodes' ,
@@ -181,6 +183,7 @@ def shards(self, index=None, params=None):
181
183
182
184
:arg index: A comma-separated list of index names to limit the returned
183
185
information
186
+ :arg bytes: The unit in which to display byte values
184
187
:arg h: Comma-separated list of column names to display
185
188
:arg help: Return help information, default False
186
189
:arg local: Return local information, do not retrieve the state from
@@ -201,6 +204,7 @@ def segments(self, index=None, params=None):
201
204
202
205
:arg index: A comma-separated list of index names to limit the returned
203
206
information
207
+ :arg bytes: The unit in which to display byte values
204
208
:arg h: Comma-separated list of column names to display
205
209
:arg help: Return help information, default False
206
210
:arg local: Return local information, do not retrieve the state from
0 commit comments