summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2006-12-23 07:01:59 +0000
committercperciva <cperciva@FreeBSD.org>2006-12-23 07:01:59 +0000
commita5fb73ad660808f6dc03aa03d8efbce50c5c3541 (patch)
tree3127cd8d46592254c0bfb77f060980d308a39c85 /usr.bin/tar
parented23d7715b7d81cb397a39d274636843948a7717 (diff)
downloadFreeBSD-src-a5fb73ad660808f6dc03aa03d8efbce50c5c3541.zip
FreeBSD-src-a5fb73ad660808f6dc03aa03d8efbce50c5c3541.tar.gz
Correct the names of some options.
MFC after: 3 days
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar.c2
-rw-r--r--usr.bin/tar/bsdtar.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 2619502..0e0d437 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -502,7 +502,7 @@ main(int argc, char **argv)
/* Check boolean options only permitted in certain modes. */
if (bsdtar->option_dont_traverse_mounts)
- only_mode(bsdtar, "-X", "cru");
+ only_mode(bsdtar, "--one-file-system", "cru");
if (bsdtar->option_fast_read)
only_mode(bsdtar, "--fast-read", "xt");
if (bsdtar->option_honor_nodump)
diff --git a/usr.bin/tar/bsdtar.h b/usr.bin/tar/bsdtar.h
index 0da306c..2439709 100644
--- a/usr.bin/tar/bsdtar.h
+++ b/usr.bin/tar/bsdtar.h
@@ -60,17 +60,17 @@ struct bsdtar {
char symlink_mode; /* H or L, per BSD conventions */
char create_compression; /* j, y, or z */
char option_absolute_paths; /* -P */
- char option_dont_traverse_mounts; /* -X */
+ char option_dont_traverse_mounts; /* --one-file-system */
char option_fast_read; /* --fast-read */
char option_honor_nodump; /* --nodump */
char option_interactive; /* -w */
char option_no_owner; /* -o */
- char option_no_subdirs; /* -d */
+ char option_no_subdirs; /* -n */
char option_null; /* --null */
- char option_stdout; /* -p */
+ char option_stdout; /* -O */
char option_totals; /* --totals */
char option_unlink_first; /* -U */
- char option_warn_links; /* -l */
+ char option_warn_links; /* --check-links */
char day_first; /* show day before month in -tv output */
/* If >= 0, then close this when done. */
OpenPOWER on IntegriCloud