diff options
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 ... ] |