From f855801fb9ed82d2596f52f5b64dd66c42255c5f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 8 May 2015 12:53:18 +0100 Subject: 35059: fix, document, test readonly -p. Don't output specials as can't be reconstructed. Output arrays in a useful order. --- Doc/Zsh/builtins.yo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Doc') 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. -- cgit 1.4.1