diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-05-31 20:22:41 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-05-31 20:22:41 +0000 |
commit | f939002db3aafed26ed6f2ad0aaecac7ddbe338e (patch) | |
tree | babafb5212d8b5132cffacba2a98036a977a807d /usr.bin | |
parent | b7d590579b7e73dabbff162d136dc742700d6d4e (diff) | |
download | FreeBSD-src-f939002db3aafed26ed6f2ad0aaecac7ddbe338e.zip FreeBSD-src-f939002db3aafed26ed6f2ad0aaecac7ddbe338e.tar.gz |
Correction: -h should be a synonym for -L, not -H.
(as specified by Linux Standards Base, GNU tar, and 4.4BSD documentation)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/bsdtar.1 | 2 | ||||
-rw-r--r-- | usr.bin/tar/bsdtar.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1 index 783d1cf..994d639 100644 --- a/usr.bin/tar/bsdtar.1 +++ b/usr.bin/tar/bsdtar.1 @@ -194,7 +194,7 @@ target of the link will be archived, not the link itself. .It Fl h (c and r mode only) Synonym for -.Fl H . +.Fl L . .It Fl j (c mode only) Compress the resulting archive with diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index 4037e06..4d3639d 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -218,8 +218,8 @@ main(int argc, char **argv) case 'H': /* BSD convention */ bsdtar->symlink_mode = 'H'; break; - case 'h': /* Linux LSB for 'tar'; synonym for -H */ - bsdtar->symlink_mode = 'H'; + case 'h': /* Linux Standards Base, gtar; synonym for -L */ + bsdtar->symlink_mode = 'L'; break; #ifdef HAVE_GETOPT_LONG case OPTION_HELP: |