[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] [PATCH] tar.1: minor fixes
From: |
Kir Kolyshkin |
Subject: |
[Bug-tar] [PATCH] tar.1: minor fixes |
Date: |
Fri, 22 Mar 2019 12:30:28 -0700 |
1. Add missing .TP before TAR_SUBCOMMAND, otherwise it is merged with
the description of the previous option.
2. Fix typesetting of pax(1) utility (last word was in bold).
3. Remove .B from examples (some were in bold, some not,
and by default bold is not used in examples).
Signed-off-by: Kir Kolyshkin <address@hidden>
---
doc/tar.1 | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/doc/tar.1 b/doc/tar.1
index 0ad69b7..10f12b9 100644
--- a/doc/tar.1
+++ b/doc/tar.1
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
-.TH TAR 1 "February 4, 2019" "TAR" "GNU TAR Manual"
+.TH TAR 1 "March 22, 2019" "TAR" "GNU TAR Manual"
.SH NAME
tar \- an archiving utility
.SH SYNOPSIS
@@ -111,7 +111,7 @@ into the archive file
verbosely listing the files being archived:
.PP
.EX
-.B tar cfv etc.tar /etc
+tar cfv etc.tar /etc
.EE
.PP
In
@@ -133,9 +133,11 @@ The example command above written in the
could look like:
.PP
.EX
-.B tar -cvf etc.tar /etc
+tar -cvf etc.tar /etc
+.EE
or
-.B tar -c -v -f etc.tar /etc
+.EX
+tar -c -v -f etc.tar /etc
.EE
.PP
In
@@ -152,11 +154,11 @@ method.
Here are several ways of writing the example command in this style:
.PP
.EX
-.B tar --create --file etc.tar --verbose /etc
+tar --create --file etc.tar --verbose /etc
.EE
or (abbreviating some options):
.EX
-.B tar --cre --file=etc.tar --verb /etc
+tar --cre --file=etc.tar --verb /etc
.EE
.PP
The options in all three styles can be intermixed, although doing so
@@ -463,6 +465,7 @@ Format of the archive being processed. One of:
.BR posix ,
.BR ustar ,
.BR v7 .
+.TP
.B TAR_SUBCOMMAND
A short option (with a leading dash) describing the operation \fBtar\fR is
executing.
@@ -780,7 +783,8 @@ Same as \fB\-\-format=v7\fR.
\fB\-\-pax\-option\fR=\fIkeyword\fR[[:]=\fIvalue\fR][,\fIkeyword\fR[[:]=\fIvalue\fR]]...
Control pax keywords when creating \fBPAX\fR archives (\fB\-H
pax\fR). This option is equivalent to the \fB\-o\fR option of the
-.BR pax (1) utility.
+.BR pax (1)
+utility.
.TP
\fB\-\-posix\fR
Same as \fB\-\-format=posix\fR.
--
2.17.1
- [Bug-tar] [PATCH] tar.1: minor fixes,
Kir Kolyshkin <=