diff options
author | Stefan Weil <sw@weilnetz.de> | 2017-01-22 15:54:07 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-27 08:23:06 +0100 |
commit | 5d0c7f4f9e2d1fed53fcb2733aede71c9dcaf871 (patch) | |
tree | c91f59e75e6162713089e6e3819c2aa5a8fa7a03 /qapi | |
parent | e8518c92b0b143cfeb4251d3185f262c2d2b6ee9 (diff) |
qapi: Remove unwanted commas after #optional keyword
We don't want that commas to be part of the generated documentation,
so remove them.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20170122145407.27476-1-sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 10 | ||||
-rw-r--r-- | qapi/event.json | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 1b3e6eb0e8..932f5bb3b4 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3126,10 +3126,10 @@ # # @filename: filename of the new image to be loaded # -# @format: #optional, format to open the new image with (defaults to +# @format: #optional format to open the new image with (defaults to # the probed format) # -# @read-only-mode: #optional, change the read-only mode of the device; defaults +# @read-only-mode: #optional change the read-only mode of the device; defaults # to 'retain' # # Since: 2.5 @@ -3208,10 +3208,10 @@ # corruption being detected. It should not be parsed by machine as it is # not guaranteed to be stable # -# @offset: #optional, if the corruption resulted from an image access, this is +# @offset: #optional if the corruption resulted from an image access, this is # the host's access offset into the image # -# @size: #optional, if the corruption resulted from an image access, this is +# @size: #optional if the corruption resulted from an image access, this is # the access size # # @fatal: if set, the image is marked corrupt and therefore unusable after this @@ -3302,7 +3302,7 @@ # # @speed: rate limit, bytes per second # -# @error: #optional, error message. Only present on failure. This field +# @error: #optional error message. Only present on failure. This field # contains a human-readable error message. There are no semantics # other than that streaming has failed and clients should not try to # interpret the error string diff --git a/qapi/event.json b/qapi/event.json index f3737b771f..7bf539b84d 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -186,7 +186,7 @@ # At this point, it's safe to reuse the specified device ID. Device removal can # be initiated by the guest or by HMP/QMP commands. # -# @device: #optional, device name +# @device: #optional device name # # @path: device path # @@ -209,7 +209,7 @@ # Emitted once until the 'query-rx-filter' command is executed, the first event # will always be emitted # -# @name: #optional, net client name +# @name: #optional net client name # # @path: device path # @@ -531,7 +531,7 @@ # # @type: quorum operation type (Since 2.6) # -# @error: #optional, error message. Only present on failure. This field +# @error: #optional error message. Only present on failure. This field # contains a human-readable error message. There are no semantics other # than that the block layer reported an error and clients should not # try to interpret the error string. |