about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2023-08-16 13:17:14 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2023-08-16 13:18:26 +0100
commit7233c7a750eb0a321a67281404b74b4ea0917384 (patch)
treeac0fc5f769f691e6416cc33c4c53b3254ff5d4be
parent9b9870a6dc526e9d1f4406a730cbaa17a462e46f (diff)
downloadzsh-7233c7a750eb0a321a67281404b74b4ea0917384.tar.gz
zsh-7233c7a750eb0a321a67281404b74b4ea0917384.tar.xz
zsh-7233c7a750eb0a321a67281404b74b4ea0917384.zip
29130, 21931 (Ray): document what typeset -t is for.
This replaces documenting what it isn't for.
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/builtins.yo6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 13230c3b6..efcbfc644 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-08-16  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 29130, 29131 (Ray): Doc/Zsh/builtins.yo: document what typeset
+	-t is for, not what it isn't for.
+
 2023-08-14  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* 52037: Completion/Unix/Command/_date,
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 5eb93272a..8f310f6cf 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -2320,8 +2320,10 @@ readonly). Special variables that have been made readonly retain their value
 and readonly attribute when made local.
 )
 item(tt(-t))(
-Tags the named parameters.  Tags have no special meaning to the shell.
-This flag has a different meaning when used with tt(-f); see above.
+Tags the named parameters.  Tags only exist to flag the parameter for
+the user's own purposes --- the list of tagged parameters can be queried
+using `tt(typeset -t)'.  Tags have no other use.  Note that the tt(-t)
+flag has a different meaning when used with tt(-f); see above.
 )
 item(tt(-u))(
 Convert the result to upper case whenever the parameter is expanded.