about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-10-26 20:50:51 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-10-26 20:50:51 -0700
commit12e862764f2cf8e6bc27968fd5d00a62b4a9e882 (patch)
treed6f4a2ae5b6beab71799baafde530c7bc29a7a2f
parent364c4047e710b779167d697b956e224944cb0c84 (diff)
downloadzsh-12e862764f2cf8e6bc27968fd5d00a62b4a9e882.tar.gz
zsh-12e862764f2cf8e6bc27968fd5d00a62b4a9e882.tar.xz
zsh-12e862764f2cf8e6bc27968fd5d00a62b4a9e882.zip
unposted: mention former behavior of typeset for comparison
-rw-r--r--NEWS3
-rw-r--r--README1
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 35e0e2e5d..433703a1e 100644
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,8 @@ recommended to review uses of ':A' and, if appropriate, convert them
 to ':P' as soon as compatibility with 5.2 is no longer a requirement.
 
 The output of "typeset -p" uses "export" commands or the "-g" option
-for parameters that are not local to the current scope.
+for parameters that are not local to the current scope.  Previously,
+all output was in the form of "typeset" commands, never using "-g".
 
 Changes from 5.1.1 to 5.2
 -------------------------
diff --git a/README b/README
index 1a2e73936..855e76492 100644
--- a/README
+++ b/README
@@ -114,6 +114,7 @@ with other shells.
 function scope and export state of each parameter.  Exported parameters
 are output as "export" commands unless the parameter is also local, and
 other parameters not local to the scope are output with the "-g" option.
+Previously, only "typeset" commands were output, never using "-g".
 
 Incompatibilities between 5.0.8 and 5.2
 ---------------------------------------