diff --git a/luadoc/awesome.lua b/luadoc/awesome.lua index afceae61..b5e96665 100644 --- a/luadoc/awesome.lua +++ b/luadoc/awesome.lua @@ -34,7 +34,7 @@ module("awesome") -- @param cmd The command to launch. -- @param use_sn Use startup-notification, true or false, default to true. -- @param screen Optional screen number to spawn the command on. --- @return Nothing is everything is OK, or an error string if an error occured. +-- @return Process ID if everything is OK, or an error string if an error occured. --- Add a global signal. -- @param name A string with the event name. diff --git a/spawn.c b/spawn.c index eb8132d9..e476e9a8 100644 --- a/spawn.c +++ b/spawn.c @@ -287,7 +287,7 @@ spawn_command(const gchar *command_line, GError **error) * \lparam The command to launch. * \lparam Use startup-notification, true or false, default to true. * \lparam The optional screen number to spawn the command on. - * \lreturn Nothing if launch was successful, an error string otherwise. + * \lreturn Process ID if everything is OK, or an error string if an error occured. */ int luaA_spawn(lua_State *L)