diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-09-05 12:02:19 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-09-05 12:52:06 +0200 |
commit | 893675249d9e3e20f198e8c25783b04c823dec39 (patch) | |
tree | b306f1e9b97390173ca521d017af8e49d10f5456 /docs/manual-mutool-run.html | |
parent | f5b82ca466dfdeb866062132d0fe495bee70f9f2 (diff) | |
download | mupdf-893675249d9e3e20f198e8c25783b04c823dec39.tar.xz |
mutool run: Pass script path and arguments as scriptPath and scriptArgs.
Diffstat (limited to 'docs/manual-mutool-run.html')
-rw-r--r-- | docs/manual-mutool-run.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/manual-mutool-run.html b/docs/manual-mutool-run.html index 26964081..310c69cc 100644 --- a/docs/manual-mutool-run.html +++ b/docs/manual-mutool-run.html @@ -15,8 +15,9 @@ <p> The 'mutool run' command executes a JavaScript program, which has access to most of the features of the MuPDF library. The command supports ECMAScript 5 syntax in strict mode. -All of the MuPDF constructors and functions live in the global object, and the command line arguments are accessible -from the global 'argv' object. +All of the MuPDF constructors and functions live in the global object, and the +command line arguments are accessible from the global 'scriptArgs' object. +The name of the script is in the global 'scriptPath' variable. <pre> mutool run script.js [ arguments ... ] |