aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-09-26 19:16:12 +0200
committerAlbert Krewinkel <[email protected]>2022-09-26 19:50:39 +0200
commitde0e3ff5f6483d358ca72bfe3c823a9a4bee273a (patch)
treec1826dc22b93d8ebca6cdbc0a8aca426eed1a757 /doc
parent62f0e9ffd9434da2142441b61fdc344f6a0058e8 (diff)
pandoc-lua: support more command line flags
Diffstat (limited to 'doc')
-rw-r--r--doc/pandoc-lua.md18
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/pandoc-lua.md b/doc/pandoc-lua.md
index bacceeb1b..5badbfb32 100644
--- a/doc/pandoc-lua.md
+++ b/doc/pandoc-lua.md
@@ -21,6 +21,12 @@ If no script argument is given, then the script is assumed to be
passed in via *stdin*. Interactive mode is not supported at this
time.
+When called without the option `-E`, the interpreter checks for an
+environment variable `LUA_INIT` before running any argument. If
+the variable content has the format *`@filename`*, then
+`pandoc-lua` executes the file. Otherwise, `pandoc-lua` executes
+the string itself.
+
# OPTIONS
`-e stat`
@@ -34,8 +40,16 @@ time.
`-v`
: Show version information.
-`-i`, `-E`, `-W`
-: Not supported yet; print a warning to that effect.
+`-i`
+: Not supported yet; print a warning to that effect.
+
+`-E`
+: Ignore environment variables. This is not fully implemented
+ yet and only ignores the `LUA_INIT` variable. Other variables
+ like `LUA_PATH` and `LUA_CPATH` are **not** ignored.
+
+`-W`
+: Turn warnings on.
# AUTHORS