summaryrefslogtreecommitdiffstats
path: root/man/ocamldoc.m
diff options
context:
space:
mode:
Diffstat (limited to 'man/ocamldoc.m')
-rw-r--r--man/ocamldoc.m23
1 files changed, 17 insertions, 6 deletions
diff --git a/man/ocamldoc.m b/man/ocamldoc.m
index 1a35506a9..17be62d86 100644
--- a/man/ocamldoc.m
+++ b/man/ocamldoc.m
@@ -27,12 +27,15 @@ ocamldoc \- The OCaml documentation generator
The OCaml documentation generator
.BR ocamldoc (1)
generates documentation from special comments embedded in source files. The
-comments used by OCamldoc are of the form
+comments used by
+.B ocamldoc
+are of the form
.I (** ... *)
and follow the format described in the
.IR "The OCaml user's manual" .
-OCamldoc can produce documentation in various formats: HTML, LaTeX, TeXinfo,
+.B ocamldoc
+can produce documentation in various formats: HTML, LaTeX, TeXinfo,
Unix man pages, and
.BR dot (1)
dependency graphs. Moreover, users can add their own
@@ -112,7 +115,9 @@ to display it.
Dynamically load the given file (which extension usually is .cmo or .cma),
which defines a custom documentation generator.
If the given file is a simple one and does not exist in
-the current directory, then ocamldoc looks for it in the custom
+the current directory, then
+.B ocamldoc
+looks for it in the custom
generators default directory, and in the directories specified with the
.B \-i
option.
@@ -236,7 +241,9 @@ as the title for the generated documentation.
.BI \-intro \ file
Use content of
.I file
-as ocamldoc text to use as introduction (HTML, LaTeX and TeXinfo only).
+as
+.B ocamldoc
+text to use as introduction (HTML, LaTeX and TeXinfo only).
For HTML, the file is used to create the whole "index.html" file.
.TP
.B \-v
@@ -249,10 +256,14 @@ Print version string and exit.
Print short version number and exit.
.TP
.B \-warn\-error
-Treat Ocamldoc warnings as errors.
+Treat
+.B ocamldoc
+warnings as errors.
.TP
.B \-hide\-warnings
-Do not print OCamldoc warnings.
+Do not print
+.B ocamldoc
+warnings.
.TP
.BR \-help \ or \ \-\-help
Display a short usage summary and exit.