4184ec19bca50eed38e2516ed899bd45003bfc31 — Jesse Wertheim 6 days ago 73235cf
Correct flag docs for --no-compiler-sandbox

It was appearing as `--no-sandbox-compiler` in the `--help`, man page,
and reference, so I updated them to match what's implemented in the
launcher and displayed in the fennelfriend output.
4 files changed, 7 insertions(+), 6 deletions(-)

M changelog.md
M fennel.1
M reference.md
M src/launcher.fnl
M changelog.md => changelog.md +1 -0
@@ 2,6 2,7 @@

## 0.6.1 / ???

* Correct `--no-sandbox-compiler` to `--no-compiler-sandbox` in help/docs.
* Fix a bug in `:` when used with methods that are not valid Lua names.

## 0.6.0 / 2020-09-03

M fennel.1 => fennel.1 +4 -4
@@ 4,9 4,9 @@
fennel \- a lisp programming language that runs on Lua
.B fennel
[\fB--repl\fR] | 
[\fB--compile \fIfilename\fR] | 
[\fB--eval \fIsource\fR] | 
[\fB--repl\fR] |
[\fB--compile \fIfilename\fR] |
[\fB--eval \fIsource\fR] |
[\fIfilename\fP] [\fIargs ...\fR]


@@ 83,7 83,7 @@ header files in LUA_DIR. See
.B \-\-compile-binary \-\-help
for details.
.B \-\-no\-sandbox\-compiler
.B \-\-no\-compiler\-sandbox
Do not limit compiler environment to minimal sandbox.
.B \-h, \-\-help

M reference.md => reference.md +1 -1
@@ 1005,7 1005,7 @@ Inside `eval-compiler`, `macros`, or `macro` blocks, as well as
As of 0.6.0 the compiler will warn you if you try to use globals outside a
certain predetermined safe list in a macro; this will turn into an error in a
future version of Fennel. You can disable this warning by providing the
command-line argument `--no-sandbox-compiler` or by passing `{:compiler-env
command-line argument `--no-compiler-sandbox` or by passing `{:compiler-env
_G}` in the options table when invoking the compiler programmatically.

Note that lists are compile-time concepts that don't exist at runtime; they

M src/launcher.fnl => src/launcher.fnl +1 -1
@@ 29,7 29,7 @@ Run fennel, a lisp programming language for the Lua runtime.
  --compile-binary FILE
      OUT LUA_LIB LUA_DIR : Compile FILE to standalone binary OUT (experimental)
  --compile-binary --help : Display further help for compiling binaries
  --no-sandbox-compiler   : Do not limit compiler environment to minimal sandbox
  --no-compiler-sandbox   : Do not limit compiler environment to minimal sandbox

  --help (-h)             : Display this text
  --version (-v)          : Show version