diff options
Diffstat (limited to 'doc/quickjs.html')
-rw-r--r-- | doc/quickjs.html | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/quickjs.html b/doc/quickjs.html index f3522d7..11657a3 100644 --- a/doc/quickjs.html +++ b/doc/quickjs.html @@ -1,7 +1,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created by GNU Texinfo 6.1, http://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> <head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>QuickJS Javascript Engine</title> <meta name="description" content="QuickJS Javascript Engine"> @@ -9,7 +10,6 @@ <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="#SEC_Contents" rel="contents" title="Table of Contents"> <style type="text/css"> <!-- @@ -206,7 +206,7 @@ Javascript files and/or expressions as arguments to execute them: <a name="qjs-interpreter"></a> <h4 class="subsection">2.3.1 <code>qjs</code> interpreter</h4> -<pre class="verbatim">usage: qjs [options] [files] +<pre class="verbatim">usage: qjs [options] [file [args]] </pre> <p>Options are: </p><dl compact="compact"> @@ -241,6 +241,11 @@ source is <code>import</code>. the <code>"use bigint"</code> and <code>"use math"</code> directives. </p> </dd> +<dt><code>-I file</code></dt> +<dt><code>--include file</code></dt> +<dd><p>Include an additional file. +</p> +</dd> </dl> <p>Advanced options are: @@ -767,6 +772,10 @@ pathname of <code>path</code> and <code>err</code> the error code. and <code>err</code> the error code. </p> </dd> +<dt><code>chdir(path)</code></dt> +<dd><p>Change the current directory. Return the error code. +</p> +</dd> <dt><code>mkdir(path, mode = 0o777)</code></dt> <dd><p>Create a directory at <code>path</code>. Return the error code. </p> |