git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60adf09
)
docs: Emphasize deprecation notice in man pages.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 6 Aug 2011 15:00:01 +0000
(16:00 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 6 Aug 2011 15:00:01 +0000
(16:00 +0100)
generator/generator_docstrings.ml
patch
|
blob
|
history
diff --git
a/generator/generator_docstrings.ml
b/generator/generator_docstrings.ml
index
6d242bd
..
baccdd6
100644
(file)
--- a/
generator/generator_docstrings.ml
+++ b/
generator/generator_docstrings.ml
@@
-45,7
+45,7
@@
let deprecation_notice ?(prefix = "") flags =
let alt =
find_map (function DeprecatedBy str -> Some str | _ -> None) flags in
let txt =
- sprintf "
This function is deprecated.
+ sprintf "
I<This function is deprecated.>
In new code, use the L</%s%s> call instead.
Deprecated functions will not be removed from the API, but the