]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: cli: provide a show-module-options loader command
authorKyle Evans <kevans@FreeBSD.org>
Thu, 17 Dec 2020 18:24:36 +0000 (18:24 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 17 Dec 2020 18:24:36 +0000 (18:24 +0000)
commit7ed84fa14b00cdacfe9b43019cba7a14b33af352
tree5f4c3cb413e76a0b8603762c30f4ea41632bebc3
parent3326f7e9bbd94a5059d104122bc5204108b3f448
lualoader: cli: provide a show-module-options loader command

This effectively dumps everything lualoader knows about to the console using
the libsa pager; that particular lua interface was added in r368591.

A pager stub implementation has been added that just dumps the output as-is
as a compat shim for older loader binaries that do not have lpager. This
stub should be moved into a more appropriate .lua file if we add anything
else that needs the pager.
stand/lua/cli.lua
stand/lua/cli.lua.8
stand/lua/config.lua
stand/lua/config.lua.8