diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-11-01 18:12:40 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-11-01 18:12:40 +0000 |
commit | ba36967b575ca57ebde3349e62c190ca69b73832 (patch) | |
tree | bb1d3f998cd6a6e4f7d72aabd028fd4435c26772 /Doc/Zsh/builtins.yo | |
parent | fa59375e36e1718e060048ba7efd7346b3c8e94a (diff) | |
download | zsh-ba36967b575ca57ebde3349e62c190ca69b73832.tar.gz zsh-ba36967b575ca57ebde3349e62c190ca69b73832.tar.xz zsh-ba36967b575ca57ebde3349e62c190ca69b73832.zip |
37038: add -l option to emulate to list options in emulations
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 85d1742f0..985e7267f 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -477,7 +477,7 @@ cindex(compatibility, csh) cindex(sh, compatibility) cindex(ksh, compatibility) cindex(csh, compatibility) -item(tt(emulate) [ tt(-LR) ] [ {tt(zsh)|tt(sh)|tt(ksh)|tt(csh)} [ var(flags) ... ] ])( +item(tt(emulate) [ tt(-lLR) ] [ {tt(zsh)|tt(sh)|tt(ksh)|tt(csh)} [ var(flags) ... ] ])( Without any argument print current emulation mode. With single argument set up zsh options to emulate the specified shell @@ -518,6 +518,14 @@ function, if any; normally these options are turned off in all emulation modes except tt(ksh). The tt(-L) switch is mutually exclusive with the use of tt(-c) in var(flags). +If there is a single argument and the tt(-l) switch is given, the +options that would be set or unset (the latter indicated with the prefix +`tt(no)') are listed. tt(-l) can be combined with tt(-L) or tt(-R) and +the list will be modified in the appropriate way. Note the list does +not depend on the current setting of options, i.e. it includes all +options that may in principle change, not just those that would actually +change. + The var(flags) may be any of the invocation-time flags described in ifnzman(noderef(Invocation))\ ifzman(the section INVOCATION in zmanref(zsh)), |