mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-09-29 07:20:48 +00:00
Update changelog and fix doc typo
This commit is contained in:
parent
96e7b60285
commit
c6b6b4479c
@ -7,6 +7,8 @@
|
|||||||
* The Lua REPL warns when declaring locals (lupus590, exerro)
|
* The Lua REPL warns when declaring locals (lupus590, exerro)
|
||||||
* Add config to allow using command computers in survival.
|
* Add config to allow using command computers in survival.
|
||||||
* Add fs.isDriveRoot - checks if a path is the root of a drive.
|
* Add fs.isDriveRoot - checks if a path is the root of a drive.
|
||||||
|
* `cc.pretty` can now display a function's arguments and where it was defined. The Lua REPL will show arguments by default.
|
||||||
|
* Move the shell's `require`/`package` implementation to a separate `cc.require` module.
|
||||||
|
|
||||||
And several bug fixes:
|
And several bug fixes:
|
||||||
* Fix io.lines not accepting arguments.
|
* Fix io.lines not accepting arguments.
|
||||||
|
@ -7,6 +7,8 @@ New features in CC: Tweaked 1.88.0
|
|||||||
* The Lua REPL warns when declaring locals (lupus590, exerro)
|
* The Lua REPL warns when declaring locals (lupus590, exerro)
|
||||||
* Add config to allow using command computers in survival.
|
* Add config to allow using command computers in survival.
|
||||||
* Add fs.isDriveRoot - checks if a path is the root of a drive.
|
* Add fs.isDriveRoot - checks if a path is the root of a drive.
|
||||||
|
* `cc.pretty` can now display a function's arguments and where it was defined. The Lua REPL will show arguments by default.
|
||||||
|
* Move the shell's `require`/`package` implementation to a separate `cc.require` module.
|
||||||
|
|
||||||
And several bug fixes:
|
And several bug fixes:
|
||||||
* Fix io.lines not accepting arguments.
|
* Fix io.lines not accepting arguments.
|
||||||
|
@ -425,7 +425,7 @@ end
|
|||||||
-- @tparam[opt] { function_args = boolean, function_source = boolean } options
|
-- @tparam[opt] { function_args = boolean, function_source = boolean } options
|
||||||
-- Controls how various properties are displayed.
|
-- Controls how various properties are displayed.
|
||||||
-- - `function_args`: Show the arguments to a function if known (`false` by default).
|
-- - `function_args`: Show the arguments to a function if known (`false` by default).
|
||||||
-- - `function_source: Show where the function was defined, instead of
|
-- - `function_source`: Show where the function was defined, instead of
|
||||||
-- `function: xxxxxxxx` (`false` by default).
|
-- `function: xxxxxxxx` (`false` by default).
|
||||||
-- @treturn Doc The object formatted as a document.
|
-- @treturn Doc The object formatted as a document.
|
||||||
-- @usage Display a table on the screen
|
-- @usage Display a table on the screen
|
||||||
|
Loading…
Reference in New Issue
Block a user