From: Sergey Poznyakoff Date: Thu, 29 Mar 2012 05:57:29 +0000 (+0300) Subject: Fix unrecognized option. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2a61a3701f1fa04e83a2a39013ab56530a44b777;p=chaz%2Ftar Fix unrecognized option. * src/tar.c (parse_opt): Handle OLD_ARCHIVE_OPTION. --- diff --git a/src/tar.c b/src/tar.c index ec7ebab..8c4f656 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1979,6 +1979,10 @@ parse_opt (int key, char *arg, struct argp_state *state) } break; + case OLD_ARCHIVE_OPTION: + set_archive_format ("v7"); + break; + case OVERWRITE_DIR_OPTION: old_files_option = DEFAULT_OLD_FILES; break;