summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorHeechul Ryu <ryuhcii@gmail.com>2023-01-26 03:43:55 -0800
committerGitHub <noreply@github.com>2023-01-26 12:43:55 +0100
commit23bd812b0c531dbb6a9854a81030468bbae29cd8 (patch)
treefe132c5c3d1e0fa6289f28d6d401e910040651ab
parentaf0f3639ec6fabc00bf8357615b62641ee0b4508 (diff)
downloadNim-23bd812b0c531dbb6a9854a81030468bbae29cd8.tar.gz
Update nims.md to use `nim e` instead of `nim` in advanced shebang (#21301)
Update nims.md

- suggest a better shebang that works with any filename
- related to https://github.com/nim-lang/Nim/issues/17190
-rw-r--r--doc/nims.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nims.md b/doc/nims.md
index a69ea1789..2409bb577 100644
--- a/doc/nims.md
+++ b/doc/nims.md
@@ -211,7 +211,7 @@ ends with ``.nims``:
   echo "hello world"
   ```
 
-Use `#!/usr/bin/env -S nim --hints:off` to disable hints.
+Use `#!/usr/bin/env -S nim e --hints:off` to disable hints and relax the file extension constraint.
 
 
 Benefits