cli.lua.8 (4634bb1f4052ff5f1c0a423fd8cce11396ca7fd2) cli.lua.8 (7ed84fa14b00cdacfe9b43019cba7a14b33af352)
1.\"
2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3.\"
4.\" Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
1.\"
2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3.\"
4.\" Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd December 12, 2020
29.Dd December 17, 2020
30.Dt CLI.LUA 8
31.Os
32.Sh NAME
33.Nm cli.lua
34.Nd FreeBSD Lua CLI module
35.Sh DESCRIPTION
36.Nm
37contains the main functionality required to add new CLI commands, which can be

--- 53 unchanged lines hidden (view full) ---

91.It
92.Ic reload-conf
93.It
94.Ic enable-module
95.It
96.Ic disable-module
97.It
98.Ic toggle-module
30.Dt CLI.LUA 8
31.Os
32.Sh NAME
33.Nm cli.lua
34.Nd FreeBSD Lua CLI module
35.Sh DESCRIPTION
36.Nm
37contains the main functionality required to add new CLI commands, which can be

--- 53 unchanged lines hidden (view full) ---

91.It
92.Ic reload-conf
93.It
94.Ic enable-module
95.It
96.Ic disable-module
97.It
98.Ic toggle-module
99.It
100.Ic show-module-options
99.El
100.Pp
101For
102.Ic autoboot ,
103.Ic boot ,
104and
105.Ic boot-conf ,
106the

--- 13 unchanged lines hidden (view full) ---

120.Ic enable-module ,
121.Ic disable-module ,
122and
123.Ic toggle-module
124commands manipulate the list of modules to be loaded along with the kernel.
125Modules blacklisted are considered disabled by
126.Ic toggle-module .
127These commands will override any such restriction as needed.
101.El
102.Pp
103For
104.Ic autoboot ,
105.Ic boot ,
106and
107.Ic boot-conf ,
108the

--- 13 unchanged lines hidden (view full) ---

122.Ic enable-module ,
123.Ic disable-module ,
124and
125.Ic toggle-module
126commands manipulate the list of modules to be loaded along with the kernel.
127Modules blacklisted are considered disabled by
128.Ic toggle-module .
129These commands will override any such restriction as needed.
130The
131.Ic show-module-options
132command will dump the list of modules that loader has been made aware of and
133any applicable options using paged output.
128.Ss Exported Functions
129The following functions are exported from
130.Nm :
131.Bl -tag -width cli.arguments -offset indent
132.It Fn cli.arguments ...
133Takes varargs passed on the stack from
134.Xr loader 8
135to

--- 13 unchanged lines hidden ---
134.Ss Exported Functions
135The following functions are exported from
136.Nm :
137.Bl -tag -width cli.arguments -offset indent
138.It Fn cli.arguments ...
139Takes varargs passed on the stack from
140.Xr loader 8
141to

--- 13 unchanged lines hidden ---