[tar] Manual page edit to describe new options.

Pavel Raiskup praiskup at fedoraproject.org
Wed Aug 22 10:06:34 UTC 2012


commit 130db747c9281fc392881a40fd600ff9d621ce1b
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Wed Aug 22 12:04:57 2012 +0200

    Manual page edit to describe new options.
    
    Related #850291

 tar.1    |   46 ++++++++++++++++++++++++++++------------------
 tar.spec |    9 ++++++---
 2 files changed, 34 insertions(+), 21 deletions(-)
---
diff --git a/tar.1 b/tar.1
index da5f692..cc536c9 100644
--- a/tar.1
+++ b/tar.1
@@ -159,10 +159,7 @@ extract files to standard output
 \fB\-\-to\-command\fR=\fICOMMAND\fR
 pipe extracted files to another program
 .IP
-Handling of file attributes:
-.TP
-\fB\-\-acls\fR
-Save the ACLs to the archive
+.SH \fBHandling of file attributes:\fR
 .TP
 \fB\-\-atime\-preserve\fR[=\fIMETHOD\fR]
 preserve access times on dumped files, either
@@ -187,9 +184,6 @@ set mtime for added files from DATE\-OR\-FILE
 \fB\-m\fR, \fB\-\-touch\fR
 don't extract file modified time
 .TP
-\fB\-\-no\-acls\fR
-Don't extract the ACLs from the archive
-.TP
 \fB\-\-no\-delay\-directory\-restore\fR
 cancel the effect of \fB\-\-delay\-directory\-restore\fR
 option
@@ -202,13 +196,6 @@ users)
 apply the user's umask when extracting permissions
 from the archive (default for ordinary users)
 .TP
-\fB\-\-no\-selinux\fR
-Don't extract the SELinux context from the archive
-.TP
-\fB\-\-no\-xattrs\fR
-Don't extract the user/root xattrs from the
-archive
-.TP
 \fB\-\-numeric\-owner\fR
 always use numbers for user/group names
 .TP
@@ -228,12 +215,32 @@ exists in the archive (default for superuser)
 .TP
 \fB\-s\fR, \fB\-\-preserve\-order\fR, \fB\-\-same\-order\fR
 sort names to extract to match archive
+.IP
+.SH \fBHandling of extended file attributes:\fR
+.TP
+\fB\-\-acls\fR
+Enable the POSIX ACLs support
+.TP
+\fB\-\-no\-acls\fR
+Disable the POSIX ACLs support
+.TP
+\fB\-\-no\-selinux\fR
+Disable the SELinux context support
+.TP
+\fB\-\-no\-xattrs\fR
+Disable extended attributes support
 .TP
 \fB\-\-selinux\fR
-Save the SELinux context to the archive
+Enable the SELinux context support
 .TP
 \fB\-\-xattrs\fR
-Save the user/root xattrs to the archive
+Enable extended attributes support
+.TP
+\fB\-\-xattrs\-exclude\fR=\fIMASK\fR
+specify the exclude pattern for xattr keys
+.TP
+\fB\-\-xattrs\-include\fR=\fIMASK\fR
+specify the include pattern for xattr keys
 .IP
 .SH \fBDevice selection and switching:\fR
 .TP
@@ -276,11 +283,12 @@ ignore zeroed blocks in archive (means EOF)
 NUMBER of bytes per record, multiple of 512
 .IP
 .SH \fBArchive format selection:\fR
-.TP
 \fB\-H\fR, \fB\-\-format\fR=\fIFORMAT\fR
+.RS
 create archive of the given format
-.IP
+.sp
 FORMAT is one of the following:
+.RS
 .TP
 gnu
 GNU tar 1.13.x format
@@ -299,6 +307,8 @@ POSIX 1003.1\-1988 (ustar) format
 .TP
 v7
 old V7 tar format
+.RE
+.RE
 .TP
 \fB\-\-old\-archive\fR, \fB\-\-portability\fR
 same as \fB\-\-format\fR=\fIv7\fR
diff --git a/tar.spec b/tar.spec
index 5e905c1..d2aa567 100644
--- a/tar.spec
+++ b/tar.spec
@@ -5,7 +5,7 @@ Summary: A GNU file archiving program
 Name: tar
 Epoch: 2
 Version: 1.26
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPLv3+
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/tar/
@@ -139,7 +139,10 @@ fi
 %{_infodir}/tar.info*
 
 %changelog
-* Tue Aug 21 2012 Pavel Raiskup <praiskup at redhat.com 2:1.26-10
+* Wed Aug 22 2012 Pavel Raiskup <praiskup at redhat.com> 2:1.26-11
+- fix manpage to reflect #850291 related commit
+
+* Tue Aug 21 2012 Pavel Raiskup <praiskup at redhat.com> 2:1.26-10
 - prepare Gnulib for new xattrs (#850291)
 - new version of RH xattrs patch (#850291)
 - enable verbose mode in testsuite to allow better debugging on error
@@ -147,7 +150,7 @@ fi
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2:1.26-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
-* Thu Jul 12 2012 Pavel Raiskup <praiskup at redhat.com 2:1.26-8
+* Thu Jul 12 2012 Pavel Raiskup <praiskup at redhat.com> 2:1.26-8
 - force the fchown() be called before xattrs_set() (#771927)
 
 * Sat Jun 16 2012 Ondrej Vasik <ovasik at redhat.com> 2:1.26-7


More information about the scm-commits mailing list