summaryrefslogtreecommitdiff
path: root/doc/lua.1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-07-15 17:25:52 +0000
committerWarner Losh <imp@FreeBSD.org>2023-07-15 17:25:52 +0000
commit71944acbe7e51ac849d2baae287d867c2276ce4e (patch)
tree9813a14737667d113cc9fc8f8ca072122ac0458f /doc/lua.1
parent755d9301ca89f02956fd17858b9d4d821ab5c972 (diff)
Diffstat (limited to 'doc/lua.1')
-rw-r--r--doc/lua.116
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/lua.1 b/doc/lua.1
index a46a1a67dd04..3f472fd81f62 100644
--- a/doc/lua.1
+++ b/doc/lua.1
@@ -1,5 +1,5 @@
-.\" $Id: lua.man,v 1.14 2020/05/21 19:31:21 lhf Exp $
-.TH LUA 1 "$Date: 2020/05/21 19:31:21 $"
+.\" $Id: lua.man,v 1.14 2022/09/23 09:06:36 lhf Exp $
+.TH LUA 1 "$Date: 2022/09/23 09:06:36 $"
.SH NAME
lua \- Lua interpreter
.SH SYNOPSIS
@@ -86,11 +86,17 @@ execute statement
enter interactive mode after executing
.IR script .
.TP
-.BI \-l " name"
+.BI \-l " mod"
require library
-.I name
+.I mod
into global
-.IR name .
+.IR mod .
+.TP
+.BI \-l " g=mod"
+require library
+.I mod
+into global
+.IR g .
.TP
.B \-v
show version information.