aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2021-05-03 15:56:55 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-05-03 15:56:58 +0000
commit2da0d8b52fc90ce82891ae161fe6df89111c5e5c (patch)
treeb97b360c74c7adea94d00380f2a94c820dcf2315 /Doc
parentccc9cff9e244725ed604fd1ac20e4958339e3885 (diff)
downloadzsh-2da0d8b52fc90ce82891ae161fe6df89111c5e5c.tar.gz
zsh-2da0d8b52fc90ce82891ae161fe6df89111c5e5c.tar.xz
zsh-2da0d8b52fc90ce82891ae161fe6df89111c5e5c.zip
48767: docs: $SECONDS: Clarify what types may be set
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index a9044336f..dc28a45ae 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -845,8 +845,9 @@ will be the value that was assigned plus the number of seconds
since the assignment.
Unlike other special parameters, the type of the tt(SECONDS) parameter can
-be changed using the tt(typeset) command. Only integer and one of the
-floating point types are allowed. For example, `tt(typeset -F SECONDS)'
+be changed using the tt(typeset) command. The type may be changed only
+to one of the floating point types or back to integer. For example,
+`tt(typeset -F SECONDS)'
causes the value to be reported as a floating point number. The
value is available to microsecond accuracy, although the shell may
show more or fewer digits depending on the use of tt(typeset). See