From be26d532c3ae4463559cc0d54e0227f26d5dc96f Mon Sep 17 00:00:00 2001 From: James Reed Date: Wed, 8 May 2019 15:59:02 -0600 Subject: [PATCH] doc: Add factory param to other spawn functions --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 2cbfd78..1f1e913 100644 --- a/init.lua +++ b/init.lua @@ -140,6 +140,7 @@ setmetatable(launch.spawn, {__call = function (_, ...) spawn(...) end}) -- @param args.pwd Pathname to the working directory for new clients. -- @param args.timeout Seconds after which to stop waiting for a client to spawn. -- @param args.callback Function to call with client when it spawns. +-- @param args.factory The factory to use (see wm-launch's -f flag). -- @param args.filter Function to filter clients that are considered. -- @return The client's ID. -- @function spawn.single_instance @@ -163,6 +164,7 @@ end -- @param args.pwd Pathname to the working directory for new clients. -- @param args.timeout Seconds after which to stop waiting for a client to spawn. -- @param args.callback Function to call with client when it spawns. +-- @param args.factory The factory to use (see wm-launch's -f flag). -- @param args.filter Function to filter clients that are considered. -- @return The client's ID. -- @function spawn.raise_or_spawn