summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/bsdtar.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-05-02 05:40:05 +0000
committerkientzle <kientzle@FreeBSD.org>2008-05-02 05:40:05 +0000
commit3a55c1cdc9818806307a2d633d3a29f9f9b8db82 (patch)
tree95d665a047d66e359f18cc2d61fc97ca1a03b2f2 /usr.bin/tar/bsdtar.c
parent00470f26d3c8b5267b41aa4885dade4e53a3be3f (diff)
downloadFreeBSD-src-3a55c1cdc9818806307a2d633d3a29f9f9b8db82.zip
FreeBSD-src-3a55c1cdc9818806307a2d633d3a29f9f9b8db82.tar.gz
Documentation updates:
* --format can be used with -r or -u * -o is a synonym for --format=ustar when used with -c, -r, or -u Also, fix the erroneous sanity check that suppressed --format with -r or -u.
Diffstat (limited to 'usr.bin/tar/bsdtar.c')
-rw-r--r--usr.bin/tar/bsdtar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 88b963b..7e33e5b 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -638,7 +638,7 @@ main(int argc, char **argv)
only_mode(bsdtar, buff, "cxt");
}
if (bsdtar->create_format != NULL)
- only_mode(bsdtar, "--format", "c");
+ only_mode(bsdtar, "--format", "cru");
if (bsdtar->symlink_mode != '\0') {
strcpy(buff, "-?");
buff[1] = bsdtar->symlink_mode;
OpenPOWER on IntegriCloud