summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/_system.lua')
-rw-r--r--runtime/lua/vim/_system.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_system.lua b/runtime/lua/vim/_system.lua
index 7ff61a1c68..00c362696f 100644
--- a/runtime/lua/vim/_system.lua
+++ b/runtime/lua/vim/_system.lua
@@ -98,10 +98,10 @@ end
--- Example:
--- ```lua
--- local obj = vim.system({'sleep', '10'})
---- obj:kill('TERM') -- sends SIGTERM to the process
+--- obj:kill('sigterm') -- sends SIGTERM to the process
--- ```
---
---- @param signal integer|string Signal to send to the process.
+--- @param signal integer|string Signal to send to the process. See |luv-constants|.
function SystemObj:kill(signal)
self._state.handle:kill(signal)
end