diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-04-22 22:55:09 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-04-22 22:55:09 -0700 |
commit | 54e727641c067201bbd0e7f6be7459fce4239a3f (patch) | |
tree | 821c9537edf180b9282c8a10925edc076b53c4a8 | |
parent | b7fc541cbc9b23304516ac812cbd91e327b6b6e1 (diff) | |
download | teliva-54e727641c067201bbd0e7f6be7459fce4239a3f.tar.gz |
document `arg` var for commandline arguments
-rw-r--r-- | doc/manual.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/manual.html b/doc/manual.html index 4156bb7..e5f8f50 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -2181,7 +2181,7 @@ each library provides all its functions as fields of a global table or as methods of its objects. -<h2>5.1 - <a name="5.1">Basic Functions</a></h2> +<h2>5.1 - <a name="5.1">Basic Primitives</a></h2> <p> The basic library provides some core functions to Lua. @@ -2191,6 +2191,11 @@ implementations for some of its facilities. <p> +<hr><h3><a name="pdf-arg"><code>arg</code></a></h3> +A global variable containing any commandline arguments. + + +<p> <hr><h3><a name="pdf-assert"><code>assert (v [, message])</code></a></h3> Issues an error when the value of its argument <code>v</code> is false (i.e., <b>nil</b> or <b>false</b>); @@ -2277,7 +2282,7 @@ to the message. <p> <hr><h3><a name="pdf-_G"><code>_G</code></a></h3> -A global variable (not a function) that +A global variable that holds the global environment (that is, <code>_G._G = _G</code>). Lua itself does not use this variable; changing its value does not affect any environment, |