diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-11-08 12:24:48 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-11-08 12:24:48 +0000 |
commit | 7f767568a6490b0a34d35d8db7bb0fcd3da797b6 (patch) | |
tree | 3bf26b28abf8058a37855e6ef0a10e0ffc2b0435 /Doc/Zsh | |
parent | ce658b3c3c941262a0517594066b74e5ffe3c7f1 (diff) | |
download | zsh-7f767568a6490b0a34d35d8db7bb0fcd3da797b6.tar.gz zsh-7f767568a6490b0a34d35d8db7bb0fcd3da797b6.tar.xz zsh-7f767568a6490b0a34d35d8db7bb0fcd3da797b6.zip |
30780: document that set -o failures are hard but setopt failures are soft
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/builtins.yo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 37319c9b0..f3a7f6a97 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1361,6 +1361,11 @@ or without the tt(no) prefix remains the same in this case. If the tt(-m) flag is given the arguments are taken as patterns (which should be quoted to protect them from filename expansion), and all options with names matching these patterns are set. + +Note that a bad option name does not cause execution of subsequent shell +code to be aborted; this is behaviour is different from that of `tt(set +-o)'. This is because tt(set) is regarded as a special builtin by the +POSIX standard, but tt(setopt) is not. ) findex(shift) cindex(parameters, positional) |