diff options
-rw-r--r-- | usr.bin/tar/bsdtar.c | 2 | ||||
-rw-r--r-- | usr.bin/tar/bsdtar.h | 8 |
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. */ |