1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 20:20:30 +00:00

Add a couple of missing version annotations

This commit is contained in:
Jonathan Coates 2023-02-09 20:09:57 +00:00
parent 8ac42566ec
commit 7e54a40fa9
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,7 @@ This table also accepts the following options:
return fs.complete(str, "", {
include_files = true,
include_dirs = false,
included_hidden = false,
include_hidden = false,
})
end)
]]

View File

@ -33,6 +33,7 @@ which program to run:
[hashbang]: https://en.wikipedia.org/wiki/Shebang_(Unix)
@module[module] shell
@changed 1.103.0 Added support for hashbangs.
]]
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
-- not be found.
-- @since 1.2
-- @changed 1.80pr1 Now searches for files with and without the `.lua` extension.
-- @usage Locate the `hello` program.
--
-- shell.resolveProgram("hello")