diff mbox

[v3,07/14] qapi: use one symbol per line

Message ID 20161107073033.21025-8-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Nov. 7, 2016, 7:30 a.m. UTC
The documentation parser only handles a single symbol per line.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 qapi/block-core.json | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Markus Armbruster Nov. 7, 2016, 3:57 p.m. UTC | #1
Marc-André Lureau <marcandre.lureau@redhat.com> writes:

> The documentation parser only handles a single symbol per line.

Suggest "The documentation parser we're going to add".

> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  qapi/block-core.json | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index c64a48c..e1cc94a 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -1712,9 +1712,13 @@
>  #
>  # Drivers that are supported in block device operations.
>  #
> -# @host_device, @host_cdrom: Since 2.1
> +# @host_device: Since 2.1
> +# @host_cdrom: Since 2.1
>  # @gluster: Since 2.7
> -# @nbd, @nfs, @replication, @ssh: Since 2.8
> +# @nbd: Since 2.8
> +# @nfs: Since 2.8
> +# @replication: Since 2.8
> +# @ssh: Since 2.8
>  #
>  # Since: 2.0
>  ##

If we had more, I'd consider making the doc parser smarter, but it's not
worth the bother just for this one.
diff mbox

Patch

diff --git a/qapi/block-core.json b/qapi/block-core.json
index c64a48c..e1cc94a 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1712,9 +1712,13 @@ 
 #
 # Drivers that are supported in block device operations.
 #
-# @host_device, @host_cdrom: Since 2.1
+# @host_device: Since 2.1
+# @host_cdrom: Since 2.1
 # @gluster: Since 2.7
-# @nbd, @nfs, @replication, @ssh: Since 2.8
+# @nbd: Since 2.8
+# @nfs: Since 2.8
+# @replication: Since 2.8
+# @ssh: Since 2.8
 #
 # Since: 2.0
 ##