Permalink
Browse files

[mod_lua] fix docs

  • Loading branch information...
1 parent ff527c5 commit e2d7bb30ec68c95a54a4ac6b0ad3cde28f81a872 @stbuehler stbuehler committed Jan 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/modules/mod_lua.c
View
@@ -5,14 +5,14 @@
* mod_lua
*
* Setups:
- * lua.plugin filename, [ options ], <lua-args>
+ * lua.plugin (filename, [ options ], <lua-args>)
* - No options available yet, can be omitted
* - Can register setup.* and action.* callbacks (like any c module)
* via creating a setups / actions table in the global lua namespace
* Options:
* none
* Actions:
- * lua.handler filename, [ "ttl": 300 ], <lua-args>
+ * lua.handler (filename, [ "ttl": 300 ], <lua-args>)
* - Basically the same as include_lua (no setup.* calls allowed), but loads the script
* in a worker specific lua_State, so it doesn't use the server wide lua lock.
* - You can give a ttl, after which the file is checked for modifications

0 comments on commit e2d7bb3

Please sign in to comment.