summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/posix/posix.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index 1640f2902..4173206ca 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -1040,7 +1040,7 @@ template onSignal*(signals: varargs[cint], body: untyped) =
   ## Example:
   ##
   ## .. code-block::
-  ##   from posix import SIGINT, SIGTERM
+  ##   from posix import SIGINT, SIGTERM, onSignal
   ##   onSignal(SIGINT, SIGTERM):
   ##     echo "bye from signal ", sig