mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user