summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2019-05-04 22:54:05 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-05-04 23:54:05 +0200
commit70f5d7fc426b182bffca6fa783f40f22357324ef (patch)
tree9e473119337487ed6930e94e4bcd63731a0d431a /doc
parent90a7460d91e403add87967b000566e6cc70efb26 (diff)
downloadNim-70f5d7fc426b182bffca6fa783f40f22357324ef.tar.gz
Run nimscript without "nim e" (#11121)
Add a link to nimscript.rst
Add a suggestion on disabling hints.
Diffstat (limited to 'doc')
-rw-r--r--doc/nims.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/nims.rst b/doc/nims.rst
index eaf20a6db..3f14f8f41 100644
--- a/doc/nims.rst
+++ b/doc/nims.rst
@@ -26,6 +26,8 @@ previous settings):
    ``$project.nim``. This file can be skipped with the same
    ``--skipProjCfg`` command line option.
 
+For available procs and implementation details see `nimscript <nimscript.html>`_.
+
 Limitations
 =================================
 
@@ -134,7 +136,7 @@ Standalone NimScript
 ====================
 
 NimScript can also be used directly as a portable replacement for Bash and
-Batch files. Use ``nim e myscript.nims`` to run ``myscript.nims``. For example,
+Batch files. Use ``nim myscript.nims`` to run ``myscript.nims``. For example,
 installation of Nimble could be accomplished with this simple script:
 
 .. code-block:: nim
@@ -161,3 +163,5 @@ ends with ``.nims``:
   mode = ScriptMode.Silent
 
   echo "hello world"
+
+Use ``#!/usr/bin/env -S nim --hints:off`` to disable hints.