about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorAndrew Main <zefram@users.sourceforge.net>2000-07-30 19:18:13 +0000
committerAndrew Main <zefram@users.sourceforge.net>2000-07-30 19:18:13 +0000
commit84b04a8728ec1e618b6feb508a12de460fe13428 (patch)
tree1362c72c67296818ed50d71561c986c935e923cf /Doc/Zsh
parent9743c19d618056b3af1f5efe887a1e8a9944e27b (diff)
downloadzsh-84b04a8728ec1e618b6feb508a12de460fe13428.tar.gz
zsh-84b04a8728ec1e618b6feb508a12de460fe13428.tar.xz
zsh-84b04a8728ec1e618b6feb508a12de460fe13428.zip
12436: Doc/Zsh/invoke.yo, Src/init.c: Make -b behave like
the csh -b, permitting more options to be stacked after it and
take effect.  Make -b take effect depending on SH_OPTION_LETTERS,
consistent with all the other single-letter options, rather than
having a clashing check of emulation type.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/invoke.yo7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/Zsh/invoke.yo b/Doc/Zsh/invoke.yo
index de0ed6b6b..2d6767975 100644
--- a/Doc/Zsh/invoke.yo
+++ b/Doc/Zsh/invoke.yo
@@ -72,8 +72,11 @@ with preceding options (so `tt(-x-)' is equivalent to `tt(-x --)').  Options
 are not permitted to be stacked after `tt(--)' (so `tt(-x-f)' is an error),
 but note the GNU-style option form discussed above, where `tt(--shwordsplit)'
 is permitted and does not end option processing.
-Except when emulating sh or ksh, the option `tt(-b)' is treated the same way
-as `tt(--)' for the purpose of ending option processing.
+
+Except when the bf(sh)/bf(ksh) emulation single-letter options are in effect,
+the option `tt(-b)' (or `tt(PLUS()b)') ends option processing.
+`tt(-b)' is like `tt(--)', except that further single-letter options can be
+stacked after the `tt(-b)' and will take effect as normal.
 
 startmenu()
 menu(Compatibility)