On 1/24/20 4:34 AM, David Edmondson wrote:
Texinfo defines @var for metasyntactic variables and such terms are
shown in upper-case or italics in the output of makeinfo. When
considering an option to a command, such as "-n", upper-casing is
undesirable as it may confuse the reader or be in conflict with the
equivalent upper-case option.
Replace the use of @var for options with @code to avoid this.
Signed-off-by: David Edmondson <david.edmond...@oracle.com>
---
qemu-img.texi | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Is this patch still needed given Peter's recent push to move to rST
documentation?
diff --git a/qemu-img.texi b/qemu-img.texi
index 3b6dfd8682..6b4a1ac961 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -74,13 +74,13 @@ keys.
@item --image-opts
Indicates that the source @var{filename} parameter is to be interpreted as a
full option string, not a plain filename. This parameter is mutually
-exclusive with the @var{-f} parameter.
+exclusive with the @code{-f} parameter.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org