freebsd-dev/stand/lua
Kyle Evans 2a11b81090 lualoader: A little more general menu cleanup
Instead of a single-letter parameter ('m'), use something a little more
descriptive and meaningful: 'menudef' ("menu definition") -- these functions
expect to be passed a menudef, so call it what it is.

While here, throw an assertion in that we have a handler for the selected
menu item. This is more of a debugging aide so that it's more obvious when
one is testing a menudef that they've added an entry item that we don't
handle.

This is an improvement over the past behavior of ignoring the unknown menu
entry.
2018-02-26 03:46:17 +00:00
..
cli.lua lualoader: Explain deviation from naming guidelines 2018-02-25 05:14:06 +00:00
color.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00
config.lua lualoader: Don't explicitly index tables without reason 2018-02-25 03:30:24 +00:00
core.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
drawer.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
loader.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00
Makefile lualoader: Split cli bits out into a cli module 2018-02-22 01:21:39 +00:00
menu.lua lualoader: A little more general menu cleanup 2018-02-26 03:46:17 +00:00
password.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
screen.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00