summary refs log tree commit diff stats
path: root/doc/nimc.rst
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-02-24 02:06:39 -0800
committerGitHub <noreply@github.com>2020-02-24 11:06:39 +0100
commit1cf5c280e3e5111732bfcf4bba3317a99c277593 (patch)
tree630548a2fd7fc624fed86e5473cb288655350996 /doc/nimc.rst
parent84e78b4ffc005de7a76ec7d05bdfd0caf56a79b1 (diff)
downloadNim-1cf5c280e3e5111732bfcf4bba3317a99c277593.tar.gz
only enable linenoise for -d:nimUseLinenoise (#13478)
* only enable linenoise for -d:nimUseLinenoise

* fixup
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r--doc/nimc.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst
index c1c418e01..b67c05a0e 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -528,7 +528,7 @@ for further information.
 
   The Nim compiler supports an interactive mode. This is also known as
   a `REPL`:idx: (*read eval print loop*). If Nim has been built with the
-  ``-d:useGnuReadline`` switch, it uses the GNU readline library for terminal
+  ``-d:nimUseLinenoise`` switch, it uses the GNU readline library for terminal
   input management. To start Nim in interactive mode use the command
   ``nim secret``. To quit use the ``quit()`` command. To determine whether an input
   line is an incomplete statement to be continued these rules are used: