summaryrefslogtreecommitdiff
path: root/doc_parser.lua
diff options
context:
space:
mode:
authorjussi2022-02-20 20:37:39 +0200
committerjussi2022-02-20 20:37:39 +0200
commit8182a5f1b6c61bdf95d32a4ad102e1762f0d0924 (patch)
treedea5baa7433161c1eb00277ae186b99fee940a1f /doc_parser.lua
parent6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c (diff)
downloadreilua-enhanced-8182a5f1b6c61bdf95d32a4ad102e1762f0d0924.tar.gz
reilua-enhanced-8182a5f1b6c61bdf95d32a4ad102e1762f0d0924.tar.bz2
reilua-enhanced-8182a5f1b6c61bdf95d32a4ad102e1762f0d0924.zip
Documentation and better cmakelist.
Diffstat (limited to 'doc_parser.lua')
-rw-r--r--doc_parser.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc_parser.lua b/doc_parser.lua
index dafedb3..6c74b02 100644
--- a/doc_parser.lua
+++ b/doc_parser.lua
@@ -22,8 +22,7 @@ apiFile:write( "# ReiLua API\n" )
-- Usage.
apiFile:write( "\n## Usage\n" )
-apiFile:write( "\nApplication needs 'main.lua' file as entry point. ReiLua executable will first look it from same directory\
-or it's path can be given by argument. There are three global functions that the engine will call, 'init', 'process' and 'draw'.\n" )
+apiFile:write( "\nApplication needs 'main.lua' file as entry point. ReiLua executable will first look it from same directory. Alternatively, path to the folder where \"main.lua\" is located can be given as argument. There are three global Lua functions that the engine will call, 'init', 'process' and 'draw'.\n" )
apiFile:write( "\n---\n> function init()\n\
This function will be called first when 'main.lua' is found\n\n---\n" )