mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +00:00
Add a couple of missing version annotations
This commit is contained in:
parent
8ac42566ec
commit
7e54a40fa9
@ -52,7 +52,7 @@ This table also accepts the following options:
|
|||||||
return fs.complete(str, "", {
|
return fs.complete(str, "", {
|
||||||
include_files = true,
|
include_files = true,
|
||||||
include_dirs = false,
|
include_dirs = false,
|
||||||
included_hidden = false,
|
include_hidden = false,
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
]]
|
]]
|
||||||
|
@ -33,6 +33,7 @@ which program to run:
|
|||||||
[hashbang]: https://en.wikipedia.org/wiki/Shebang_(Unix)
|
[hashbang]: https://en.wikipedia.org/wiki/Shebang_(Unix)
|
||||||
|
|
||||||
@module[module] shell
|
@module[module] shell
|
||||||
|
@changed 1.103.0 Added support for hashbangs.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local make_package = dofile("rom/modules/main/cc/require.lua").make
|
local make_package = dofile("rom/modules/main/cc/require.lua").make
|
||||||
@ -347,6 +348,7 @@ end
|
|||||||
-- @treturn string|nil The absolute path to the program, or @{nil} if it could
|
-- @treturn string|nil The absolute path to the program, or @{nil} if it could
|
||||||
-- not be found.
|
-- not be found.
|
||||||
-- @since 1.2
|
-- @since 1.2
|
||||||
|
-- @changed 1.80pr1 Now searches for files with and without the `.lua` extension.
|
||||||
-- @usage Locate the `hello` program.
|
-- @usage Locate the `hello` program.
|
||||||
--
|
--
|
||||||
-- shell.resolveProgram("hello")
|
-- shell.resolveProgram("hello")
|
||||||
|
Loading…
Reference in New Issue
Block a user