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.
This commit is contained in:
Andrew Main
2000-07-30 19:18:13 +00:00
parent 9743c19d61
commit 84b04a8728
3 changed files with 23 additions and 12 deletions

View File

@@ -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)