aboutsummaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 8ce427a5d..175a83fe5 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -2738,9 +2738,21 @@ format, and functions to filter and modify a subtree.
Runs command with arguments, passing it some input, and returns
the output.
+Parameters:
+
+`command`
+: program to run; the executable will be resolved using default
+ system methods (string).
+
+`args`
+: list of arguments to pass to the program (list of strings).
+
+`input`
+: data which is piped into the program via stdin (string).
+
Returns:
-- Output of command.
+- Output of command, i.e. data printed to stdout (string)
Raises: