From 54e727641c067201bbd0e7f6be7459fce4239a3f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 22 Apr 2022 22:55:09 -0700 Subject: document `arg` var for commandline arguments --- doc/manual.html | 9 +++++++-- 1 file 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. -

5.1 - Basic Functions

+

5.1 - Basic Primitives

The basic library provides some core functions to Lua. @@ -2190,6 +2190,11 @@ you should check carefully whether you need to provide implementations for some of its facilities. +

+


arg

+A global variable containing any commandline arguments. + +


assert (v [, message])

Issues an error when @@ -2277,7 +2282,7 @@ to the message.


_G

-A global variable (not a function) that +A global variable that holds the global environment (that is, _G._G = _G). Lua itself does not use this variable; changing its value does not affect any environment, -- cgit 1.4.1-2-gfad0