]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: cli: provide a show-module-options loader command
authorkevans <kevans@FreeBSD.org>
Thu, 17 Dec 2020 18:24:36 +0000 (18:24 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 17 Dec 2020 18:24:36 +0000 (18:24 +0000)
commit51645fda54cd2f9933f161bf99e3c4dae7cd0127
tree5f4c3cb413e76a0b8603762c30f4ea41632bebc3
parent81782839541754f6fb9052723a306e18a59f77ea
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