diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2018-02-24 20:21:21 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2018-02-24 20:21:21 +0000 |
| commit | 322a2dddba49d04539cc130cd2264a00db45c20d (patch) | |
| tree | c069e802bc413dca013767981c4b44e70fb025d2 /stand/lua/cli.lua | |
| parent | 9b7ae69179764499ab4150137e2dba086af9abfc (diff) | |
lualoader: Clean up naming conventions a little bit
We mostly use camel case for function names, but some local functions got
mixed in using internal underscores. Doubles down on camel case.
Notes
svn path=/head/; revision=329927
Diffstat (limited to 'stand/lua/cli.lua')
| -rw-r--r-- | stand/lua/cli.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua index db17a8c195d6..116005e956d6 100644 --- a/stand/lua/cli.lua +++ b/stand/lua/cli.lua @@ -38,7 +38,7 @@ local cli = {} -- Defaults to nil and "" respectively. -- This will also parse arguments to autoboot, but the with_kernel argument -- will need to be explicitly overwritten to false -local function parse_boot_args(argv, with_kernel) +local function parseBootArgs(argv, with_kernel) if with_kernel == nil then with_kernel = true end @@ -95,17 +95,17 @@ end function cli.boot(...) local _, argv = cli.arguments(...) - local kernel, argstr = parse_boot_args(argv) + local kernel, argstr = parseBootArgs(argv) if kernel ~= nil then loader.perform("unload") - config.selectkernel(kernel) + config.selectKernel(kernel) end core.boot(argstr) end function cli.autoboot(...) local _, argv = cli.arguments(...) - local argstr = parse_boot_args(argv, false) + local argstr = parseBootArgs(argv, false) core.autoboot(argstr) end |
