]> Git Repo - qemu.git/commitdiff
qmp-commands: move 'query-command-line-options' doc to schema
authorMarc-André Lureau <[email protected]>
Thu, 23 Jun 2016 11:46:31 +0000 (13:46 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 16 Jan 2017 08:15:30 +0000 (09:15 +0100)
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
docs/qmp-commands.txt
qapi-schema.json

index 3afb4389a7b2250ed378cd406f22da0b8d52437f..1a3e4e5545d4908e42d269839b43ed7f848cb084 100644 (file)
@@ -1163,46 +1163,6 @@ Example:
       ]
    }
 
-query-command-line-options
---------------------------
-
-Show command line option schema.
-
-Return a json-array of command line option schema for all options (or for
-the given option), returning an error if the given option doesn't exist.
-
-Each array entry contains the following:
-
-- "option": option name (json-string)
-- "parameters": a json-array describes all parameters of the option:
-    - "name": parameter name (json-string)
-    - "type": parameter type (one of 'string', 'boolean', 'number',
-              or 'size')
-    - "help": human readable description of the parameter
-              (json-string, optional)
-    - "default": default value string for the parameter
-                 (json-string, optional)
-
-Example:
-
--> { "execute": "query-command-line-options", "arguments": { "option": "option-rom" } }
-<- { "return": [
-        {
-            "parameters": [
-                {
-                    "name": "romfile",
-                    "type": "string"
-                },
-                {
-                    "name": "bootindex",
-                    "type": "number"
-                }
-            ],
-            "option": "option-rom"
-        }
-     ]
-   }
-
 query-rx-filter
 ---------------
 
index 782d802bade61d4c39116cf81f4b5cd97c142f0d..edae7eebbf28f89b8939076a55ba5a2f13fdee5b 100644 (file)
 #          @option).  Returns an error if the given @option doesn't exist.
 #
 # Since: 1.5
+#
+# Example:
+#
+# -> { "execute": "query-command-line-options",
+#      "arguments": { "option": "option-rom" } }
+# <- { "return": [
+#         {
+#             "parameters": [
+#                 {
+#                     "name": "romfile",
+#                     "type": "string"
+#                 },
+#                 {
+#                     "name": "bootindex",
+#                     "type": "number"
+#                 }
+#             ],
+#             "option": "option-rom"
+#         }
+#      ]
+#    }
+#
 ##
 {'command': 'query-command-line-options', 'data': { '*option': 'str' },
  'returns': ['CommandLineOptionInfo'] }
This page took 0.039081 seconds and 4 git commands to generate.