Skip to content

Commit

Permalink
Update 40_other_stats.asciidoc (elasticsearch-cn#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
ediedone authored and medcl committed Jul 20, 2017
1 parent d742f22 commit e516bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 500_Cluster_Admin/40_other_stats.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ GET /_cat/health
1408723713 12:08:33 elasticsearch_zach yellow 1 1 114 114 0 0 114
----

首先你会注意到的是响应是表格样式的纯文本,而不是 JSON。其次你会注意到各列默认是没有表头的。这都是模仿 *nix 工具设计的,因为它假设一旦你对输出熟悉了,你就再也不像看见表头了
首先你会注意到的是响应是表格样式的纯文本,而不是 JSON。其次你会注意到各列默认是没有表头的。这都是模仿 *nix 工具设计的,因为它假设一旦你对输出熟悉了,你就再也不想看见表头了

要启用表头,添加 `?v` 参数即可:

Expand Down

0 comments on commit e516bb0

Please sign in to comment.