summary refs log tree commit diff
path: root/src/dash.1
diff options
context:
space:
mode:
authorAdam Buchbinder <adam.buchbinder@gmail.com>2014-09-26 22:19:52 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-09-26 22:27:20 +0800
commit66e922a2efb18b61fb042a106d380ec38bd76169 (patch)
treef2cc4cc7d790f49de499cd7a91f9e8c312be2d57 /src/dash.1
parent[MAN] Change characters for printf precision to bytes (diff)
downloaddash-66e922a2efb18b61fb042a106d380ec38bd76169.tar.gz
dash-66e922a2efb18b61fb042a106d380ec38bd76169.zip
[MAN] 0 and EXIT both work for exit traps
I saw a discussion in which there was some confusion over whether or not
you can use a symbolic name, since the manpage doesn't specifically say so.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/dash.1')
-rw-r--r--src/dash.14
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dash.1 b/src/dash.1
index 6ceb16a..577e9ee 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2071,7 +2071,9 @@ The signals are specified by signal number or as the name of the signal.
 If
 .Ar signal
 is
-.Li 0 ,
+.Li 0
+or
+.Li EXIT ,
 the action is executed when the shell exits.
 .Ar action
 may be null, which cause the specified signals to be ignored.