diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/bsdtar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index 3002252..b5f1fec 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -138,6 +138,7 @@ static const struct option tar_longopts[] = { { "extract", no_argument, NULL, 'x' }, { "fast-read", no_argument, NULL, OPTION_FAST_READ }, { "file", required_argument, NULL, 'f' }, + { "files-from", required_argument, NULL, 'T' }, { "format", required_argument, NULL, OPTION_FORMAT }, { "gunzip", no_argument, NULL, 'z' }, { "gzip", no_argument, NULL, 'z' }, @@ -273,6 +274,9 @@ main(int argc, char **argv) long_help(bsdtar); exit(0); break; + case 'I': /* GNU tar */ + bsdtar->names_from_file = optarg; + break; case OPTION_INCLUDE: if (include(bsdtar, optarg)) bsdtar_errc(bsdtar, 1, 0, |