summaryrefslogtreecommitdiffstats
path: root/man/ocaml.m
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2002-02-08 10:16:10 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2002-02-08 10:16:10 +0000
commitef9cd6d7e6dbe3bf52de9d75faa2a35bb3dabff2 (patch)
tree4951693dbc7bb2c2bece8c3b97673b2ff86d001e /man/ocaml.m
parentc1e0dad2a8200e56dc4d15c0314d4cde7a80628c (diff)
document object file loading
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'man/ocaml.m')
-rw-r--r--man/ocaml.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/ocaml.m b/man/ocaml.m
index fa589e0a7..7f7e5a644 100644
--- a/man/ocaml.m
+++ b/man/ocaml.m
@@ -13,6 +13,9 @@ ocaml \- The Objective Caml interactive toplevel
.BI \-I \ lib-dir
]
[
+.I object-files
+]
+[
.I script-file
]
.SH DESCRIPTION
@@ -36,6 +39,14 @@ output, errors on standard error. End-of-file on standard input
terminates
.BR ocaml (1).
+If one or more
+.I object-files
+(ending in
+.B .cmo
+or
+.B .cma
+ ) are given, they are loaded silently before starting the toplevel.
+
If a
.I script-file
is given, phrases are read silently from the file, errors printed on