]> gitweb.ps.run Git - ps-cgit/blobdiff - cgitrc.5.txt
filter: allow returning exit code from filter
[ps-cgit] / cgitrc.5.txt
index d8f7d0e2b9a983e702f0d3291c729148167f1f47..170e825b414d4daebf719bb6567f5cc70e447a80 100644 (file)
@@ -590,7 +590,8 @@ specification with the relevant string; available values are:
                This is called whenever cgit writes data to the webpage.
        'filter_close()'::
                This is called when the current filtering operation is
-               completed.
+               completed. It must return an integer value. Usually 0
+               indicates success.
        
        Additionally, cgit exposes to the Lua the following built-in functions: