[libvirt PATCH 5/6] virt-qemu-run: Improve manual page

Ján Tomko jtomko at redhat.com
Fri Dec 10 17:16:06 UTC 2021


On a Friday in 2021, Andrea Bolognani wrote:
>Specifically:
>
>  * use the correct notation and markup for commands, options
>    and arguments;
>  * rename arguments meta-variables;
>  * document '--help' and '--version' options;
>  * use consistent vertical spacing;
>  * fix a typo.
>
>Signed-off-by: Andrea Bolognani <abologna at redhat.com>
>---
> docs/manpages/virt-qemu-run.rst | 53 +++++++++++++++++++--------------
> 1 file changed, 31 insertions(+), 22 deletions(-)
>
>diff --git a/docs/manpages/virt-qemu-run.rst b/docs/manpages/virt-qemu-run.rst
>index 470de93168..a755b7fda9 100644
>--- a/docs/manpages/virt-qemu-run.rst
>+++ b/docs/manpages/virt-qemu-run.rst
>@@ -11,10 +11,13 @@ Run a standalone QEMU guest
>
> .. contents::
>
>+
> SYNOPSIS
> ========
>
>-``virt-qemu-run [OPTIONS...] [GUEST-XML]``
>+``virt-qemu-run`` [*OPTIONS...*] *GUEST-XML-FILE*
>+``virt-qemu-run`` *OPTION*
>+

This puts them both on the same line in the resulting man page.

Prefixing both lines with '|' fixed that for me:
diff --git a/docs/manpages/virt-qemu-run.rst b/docs/manpages/virt-qemu-run.rst
index a755b7fda9..1bc1a7f6f7 100644
--- a/docs/manpages/virt-qemu-run.rst
+++ b/docs/manpages/virt-qemu-run.rst
@@ -15,8 +15,8 @@ Run a standalone QEMU guest
  SYNOPSIS
  ========

-``virt-qemu-run`` [*OPTIONS...*] *GUEST-XML-FILE*
-``virt-qemu-run`` *OPTION*
+| ``virt-qemu-run`` [*OPTIONS...*] *GUEST-XML-FILE*
+| ``virt-qemu-run`` *OPTION*


  DESCRIPTION



Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211210/19a68b89/attachment-0001.sig>


More information about the libvir-list mailing list