Add an example for jbuilder utop

This clarifies the use case. This replaces the emacs flag with something
more likely to be used in a shell session: implicit bindings.

Closes #727

Signed-off-by: Etienne Millon <etienne@cryptosense.com>
This commit is contained in:
Etienne Millon 2018-05-29 13:20:21 +02:00
parent 0cdf57e47b
commit 98b3e07efa
1 changed files with 3 additions and 2 deletions

View File

@ -188,8 +188,9 @@ with locally defined libraries loaded.
Where ``<dir>`` is a directory containing a ``jbuild`` file defining all the
libraries that will be loaded (using the ``library`` stanza). ``<args>`` will be
passed as arguments to the utop command itself. For example, to launch it in
emacs mode.
passed as arguments to the utop command itself. For example, ``jbuilder utop lib
-- -implicit-bindings`` will start ``utop`` with the libraries defined in
``lib`` and implicit bindings for toplevel expressions.
Requirements & Limitations
--------------------------