summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-11 01:35:56 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-11 01:35:56 +0000
commit4125920b237c98c2a8cd60321baf22a82165469c (patch)
tree8dd8d79ba13a98e5a7d5218ae3b179b7eacaf3bf
parent01cc4d4558717fbd092683058a1c66ee4dcd7904 (diff)
downloadFreeBSD-src-4125920b237c98c2a8cd60321baf22a82165469c.zip
FreeBSD-src-4125920b237c98c2a8cd60321baf22a82165469c.tar.gz
Oops: gtar's --dereference should be a synonym for bsdtar's -L, not -H.
Pointed out by: devel/nspr port Thanks to: Kris Kennaway
-rw-r--r--usr.bin/tar/bsdtar.14
-rw-r--r--usr.bin/tar/bsdtar.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1
index 4d36d09..6a374ee 100644
--- a/usr.bin/tar/bsdtar.1
+++ b/usr.bin/tar/bsdtar.1
@@ -535,9 +535,9 @@ components, or symlinks to other directories.
.Sh STANDARDS
There is no current POSIX standard for the tar command; it appeared
in
-.St -p 1003.1-1997
+.St -p1003.1-1997
but was dropped from
-.St -p 1003.1-2001 .
+.St -p1003.1-2001 .
The options used by this implementation were developed by surveying a
number of existing tar implementations as well as the old POSIX specification
for tar and the current POSIX specification for pax.
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 7092fc0..7a46840 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -86,7 +86,7 @@ const struct option tar_longopts[] = {
{ "cd", required_argument, NULL, 'C' },
{ "confirmation", no_argument, NULL, 'w' },
{ "create", no_argument, NULL, 'c' },
- { "dereference", no_argument, NULL, 'H' },
+ { "dereference", no_argument, NULL, 'L' },
{ "directory", required_argument, NULL, 'C' },
{ "exclude", required_argument, NULL, OPTION_EXCLUDE },
{ "extract", no_argument, NULL, 'x' },
OpenPOWER on IntegriCloud