about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-02-28 14:29:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-02-28 14:29:09 +0000
commitaf1c6ecdc7a764b0b21b32efdd979a6a0cf77d93 (patch)
tree46c8d880592becbfefe1c13e1f3b2069278fd399 /Doc
parentae6c23ae2c516ac7f65286ee48aedf15e0a4b176 (diff)
downloadzsh-af1c6ecdc7a764b0b21b32efdd979a6a0cf77d93.tar.gz
zsh-af1c6ecdc7a764b0b21b32efdd979a6a0cf77d93.tar.xz
zsh-af1c6ecdc7a764b0b21b32efdd979a6a0cf77d93.zip
20888: allow signal names to have the SIG prefix included
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index d5a0f787f..e4115e3da 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1157,8 +1157,9 @@ cindex(trapping signals)
 item(tt(trap) [ var(arg) [ var(sig) ... ] ])(
 var(arg) is a series of commands (usually quoted to protect it from
 immediate evaluation by the shell) to be read and executed when the shell
-receives var(sig).  Each var(sig) can be given as a number
-or as the name of a signal.
+receives var(sig).  Each var(sig) can be given as a number,
+or as the name of a signal either with or without the string tt(SIG)
+in front.
 If var(arg) is `tt(-)', then all traps var(sig) are reset to their
 default values.  If var(arg) is the empty string, then this signal
 is ignored by the shell and by the commands it invokes.