help / color / mirror / code / Atom feed
* PATCH: stat docs: Mention how to show nanosecond precision
@ 2022-02-21 17:23 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2022-02-21 17:23 UTC (permalink / raw)
  To: zsh-workers

This can be a little unintuitive to figure out; I ended up looking at
the source code to realize it was already implemented.

 Doc/Zsh/mod_stat.yo | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Doc/Zsh/mod_stat.yo b/Doc/Zsh/mod_stat.yo
index 9caed1e45a..b591d40032 100644
--- a/Doc/Zsh/mod_stat.yo
+++ b/Doc/Zsh/mod_stat.yo
@@ -118,6 +118,8 @@ formatting of the time elements.  The format string supports all of the
 zsh extensions described in
 ifzman(the section EXPANSION OF PROMPT SEQUENCES in zmanref(zshmisc))\
 ifnzman(noderef(Prompt Expansion)).
+In particular, tt(-F %s.%N) can be used to show timestamps with nanosecond
+precision if supported by the system.
 The tt(-s) option is implied.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-21 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 17:23 PATCH: stat docs: Mention how to show nanosecond precision Mikael Magnusson

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).