From 893675249d9e3e20f198e8c25783b04c823dec39 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 5 Sep 2018 12:02:19 +0200 Subject: mutool run: Pass script path and arguments as scriptPath and scriptArgs. --- docs/manual-mutool-run.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/manual-mutool-run.html') 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 @@

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.

 mutool run script.js [ arguments ... ]
-- 
cgit v1.2.3