Correct the names of some options.

MFC after:	3 days
This commit is contained in:
Colin Percival 2006-12-23 07:01:59 +00:00
parent 4b0f4e9d9e
commit fe7f4a3aad
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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. */