From fe7f4a3aad8aa65ded3a990d7f888c95a1b2039a Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Sat, 23 Dec 2006 07:01:59 +0000 Subject: [PATCH] Correct the names of some options. MFC after: 3 days --- usr.bin/tar/bsdtar.c | 2 +- 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 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. */