diff options
author | Peter Stephenson <pws@zsh.org> | 2015-05-08 12:53:18 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-05-08 12:53:18 +0100 |
commit | f855801fb9ed82d2596f52f5b64dd66c42255c5f (patch) | |
tree | 84382c37594d79af18aae28d45a3cd37747a14c8 /Doc/Zsh/builtins.yo | |
parent | 39aeeedb19744bc5250def0404b1ceca1c3aed0f (diff) | |
download | zsh-f855801fb9ed82d2596f52f5b64dd66c42255c5f.tar.gz zsh-f855801fb9ed82d2596f52f5b64dd66c42255c5f.tar.xz zsh-f855801fb9ed82d2596f52f5b64dd66c42255c5f.zip |
35059: fix, document, test readonly -p.
Don't output specials as can't be reconstructed. Output arrays in a useful order.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-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 5b25290b0..9699cf392 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1785,6 +1785,11 @@ form of a typeset command and an assignment (which will be printed separately for arrays and associative arrays), regardless of other flags and options. Note that the tt(-H) flag on parameters is respected; no value will be shown for these parameters. + +As the intention of this option is to produce output that can restore +the current state, readonly specials (whose values cannot be +changed) are not shown and assignments to arrays are shown before +the tt(typeset) rendering the array readonly. ) item(tt(-T) [ var(scalar)[tt(=)var(value)] var(array) [ var(sep) ] ])( This flag has a different meaning when used with tt(-f); see below. |