aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2006-12-23 07:01:59 +0000
committerColin Percival <cperciva@FreeBSD.org>2006-12-23 07:01:59 +0000
commitfe7f4a3aad8aa65ded3a990d7f888c95a1b2039a (patch)
tree3127cd8d46592254c0bfb77f060980d308a39c85
parent4b0f4e9d9e57d68304f64608cc4a2e42aacdebab (diff)
Notes
-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 261950233797..0e0d437401d0 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 0da306cd0df1..24397092c3ed 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. */