summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-02-10 18:46:24 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-02-10 18:46:24 +0200
commit288dd472e33a7a10578f2f68572301d5e58e12d3 (patch)
treee72616f41ab75b1c49e004e35abfc8f647f6412d
parent87063014799dc78af45710ba5f40cd5dfe341a53 (diff)
downloadtar-288dd472e33a7a10578f2f68572301d5e58e12d3.tar.gz
Fix docs.
-rw-r--r--NEWS14
-rw-r--r--doc/tar.texi2
2 files changed, 8 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 481ea271..ea3a27d2 100644
--- a/NEWS
+++ b/NEWS
@@ -15,15 +15,15 @@ New conversion specifiers are implemented. Some of them take
optional arguments, supplied in curly braces between the percent
sign and the specifier letter.
- %d - output number of seconds since tar started
- %{r,w,d}T - output I/O totals; optional arguments supply prefixes
+ %d - Number of seconds since tar started.
+ %{r,w,d}T - I/O totals; optional arguments supply prefixes
to be used before number of bytes read, written and
deleted, correspondingly.
- %{FMT}t - output current local time using FMT as strftime(3) format
- If {FMT} is omitted, use %c
- %{N}* - pad output with spaces to the Nth column, or to the
- current screen width, if {N} is not given.
- %c - a shortcut for "%{%Y-%m-%d %H:%M:%S}t: %ds, %{read,wrote}T%*\r"
+ %{FMT}t - Current local time using FMT as strftime(3) format.
+ If {FMT} is omitted, use %c.
+ %{N}* - Pad output with spaces to the Nth column, or to the
+ current screen width, if {N} is not given.
+ %c - A shortcut for "%{%Y-%m-%d %H:%M:%S}t: %ds, %{read,wrote}T%*\r"
* New option --one-top-level
diff --git a/doc/tar.texi b/doc/tar.texi
index 6323d218..2be123ac 100644
--- a/doc/tar.texi
+++ b/doc/tar.texi
@@ -4030,7 +4030,7 @@ Pad output with spaces to the @var{n}th column. If the
@samp{@{@var{n}@}} part is omitted, the current screen width
is assumed.
-@item %@var{c}
+@item %c
This is a shortcut for @samp{%@{%Y-%m-%d %H:%M:%S@}t: %ds, %@{read,wrote@}T%*\r},
intended mainly for use with @samp{ttyout} action (see below).
@end table