[Groonga-commit] droonga/droonga.org at 090fef8 [gh-pages] Add description for --report-request

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu May 7 11:42:34 JST 2015


YUKI Hiroshi	2015-05-07 11:42:34 +0900 (Thu, 07 May 2015)

  New Revision: 090fef82b76de7eb33b707f554bd42fb11f97c31
  https://github.com/droonga/droonga.org/commit/090fef82b76de7eb33b707f554bd42fb11f97c31

  Message:
    Add description for --report-request

  Modified files:
    _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po
    ja/reference/1.1.1/command-line-tools/droonga-request/index.md

  Modified: _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po (+28 -0)
===================================================================
--- _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po    2015-05-07 11:42:16 +0900 (7c0d074)
+++ _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po    2015-05-07 11:42:34 +0900 (72b86bd)
@@ -60,6 +60,34 @@ msgid ""
 msgstr ""
 
 msgid ""
+"The first line is the elapsed time to get the response.\n"
+"Following lines are the response message."
+msgstr ""
+
+msgid ""
+"This command automatically fixups requred fields of the request message.\n"
+"You can see the completed message actually sent with the option `--report-requ"
+"est`, like:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ echo '{\"type\":\"system.status\"}' |\n"
+"    droonga-request --report-request --host 192.168.100.50 --receiver-host 192"
+".168.100.10\n"
+"Request: {\n"
+"  \"type\": \"system.status\",\n"
+"  \"id\": \"1430963525.9829412\",\n"
+"  \"date\": \"2015-05-07T02:39:50.334377Z\",\n"
+"  \"dataset\": \"Default\"\n"
+"}\n"
+"Elapsed time: 0.00900742\n"
+"...\n"
+"~~~"
+msgstr ""
+
+msgid ""
 "For the complete list of available commands, see also [the command reference]("
 "../../commands/)."
 msgstr ""

  Modified: ja/reference/1.1.1/command-line-tools/droonga-request/index.md (+20 -0)
===================================================================
--- ja/reference/1.1.1/command-line-tools/droonga-request/index.md    2015-05-07 11:42:16 +0900 (2d777ea)
+++ ja/reference/1.1.1/command-line-tools/droonga-request/index.md    2015-05-07 11:42:34 +0900 (1c83900)
@@ -44,6 +44,26 @@ Elapsed time: 0.00900742
 }
 ~~~
 
+The first line is the elapsed time to get the response.
+Following lines are the response message.
+
+This command automatically fixups requred fields of the request message.
+You can see the completed message actually sent with the option `--report-request`, like:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"system.status"}' |
+    droonga-request --report-request --host 192.168.100.50 --receiver-host 192.168.100.10
+Request: {
+  "type": "system.status",
+  "id": "1430963525.9829412",
+  "date": "2015-05-07T02:39:50.334377Z",
+  "dataset": "Default"
+}
+Elapsed time: 0.00900742
+...
+~~~
+
 For the complete list of available commands, see also [the command reference](../../commands/).
 
 ## 使い方 {#usage}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index