From 98b3e07efa13c75e46ba5384e0d356bd7d369f25 Mon Sep 17 00:00:00 2001 From: Etienne Millon Date: Tue, 29 May 2018 13:20:21 +0200 Subject: [PATCH] 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 --- doc/usage.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/usage.rst b/doc/usage.rst index 3c6241ab..40f1786f 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -188,8 +188,9 @@ with locally defined libraries loaded. Where ```` is a directory containing a ``jbuild`` file defining all the libraries that will be loaded (using the ``library`` stanza). ```` 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 --------------------------