[Libguestfs] [PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions

Matthew Booth mbooth at redhat.com
Tue Mar 27 15:00:43 UTC 2012


---
 generator/generator_actions.ml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 68a7bf6..fcf363f 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with
 an external journal on C<journal>.  It is equivalent
 to the command:
 
- mke2fs -t fstype -b blocksize -J device=<journal> <device>
+ mke2fs -t fstype -b blocksize -J device=E<lt>journalE<gt> E<lt>deviceE<gt>
 
 See also C<guestfs_mke2journal>.");
 
@@ -5330,7 +5330,7 @@ For example, in guestfish you could use the following command
 to examine the boot script (usually called C</init>)
 contained in a Linux initrd or initramfs image:
 
- initrd-cat /boot/initrd-<version>.img init
+ initrd-cat /boot/initrd-E<lt>versionE<gt>.img init
 
 See also C<guestfs_initrd_list>.");
 
@@ -6560,8 +6560,9 @@ List all Linux md devices.");
    [],
    "obtain metadata for an MD device",
    "\
-This command exposes the output of 'mdadm -DY <md>'. The following fields are
-usually present in the returned hash. Other fields may also be present.
+This command exposes the output of 'mdadm -DY E<lt>mdE<gt>'. The following
+fields are usually present in the returned hash. Other fields may also be
+present.
 
 =over
 
-- 
1.7.7.6




More information about the Libguestfs mailing list