diff -r 4fda19d05965 -r 832ded5b44c9 docs/api.mdwn
--- a/docs/api.mdwn Sat Oct 13 20:57:03 2012 +0300
+++ b/docs/api.mdwn Sat Oct 13 20:57:24 2012 +0300
@@ -282,6 +282,12 @@
**Arguments:** table (arguments hash)
**Return values:** [hook handler result](#hook.handler.result)
+
+### main.hook_run
+Runs handlers for given hook with supplied arguments.
+**Arguments:** string (hook name), table (hook arguments)
+**Return values:** [return enum field](#return.enum.field) ([hook handler result](#hook.handler.result))
+
### main.hook
Installs hook handler, returns an object, that you need to keep until