fish: In guestfish(1) turn command references into links.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 18 Sep 2010 07:57:30 +0000 (08:57 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Oct 2010 11:22:03 +0000 (12:22 +0100)
Cherry picked from commit 585fceb3350c17a3d6ed7f2daffd5e2b3e5fc3e1
and backported for stable-1.2 branch.

src/generator.ml

index c762ae6..4e08fd7 100755 (executable)
@@ -7705,7 +7705,7 @@ and generate_fish_actions_pod () =
               try Str.matched_group 1 s
               with Not_found ->
                 failwithf "error substituting C<guestfs_...> in longdesc of function %s" name in
-            "C<" ^ replace_char sub '_' '-' ^ ">"
+            "L</" ^ replace_char sub '_' '-' ^ ">"
         ) longdesc in
       let name = replace_char name '_' '-' in
       let alias =