X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=NEWS;h=4dba114020cb77dfd6e38f147ae556781b997e78;hb=67a1a0eac50404799328448ae7540696cc3f6c79;hp=9c15ad79a50cb8552ee8ebad1b6bd1ef7443de80;hpb=471c0f76cd1e89814ae50310fc31b82ab18938a2;p=chaz%2Ftar diff --git a/NEWS b/NEWS index 9c15ad7..4dba114 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,19 @@ When listing or extracting archives, the actual record size is reported only if the archive is read from a device (as opposed to regular files and pipes). +* New command line option `--warning' + +The `--warning' command line option allows to suppress or enable +particular warning messages during `tar' run. It takes a single +argument (a `keyword'), identifying the class of warning messages +to affect. If the argument is prefixed with `no-', such warning +messages are suppressed. For example, + + tar --warning=no-alone-zero-block -x -f archive + +suppresses the output of `A lone zero block' diagnostics, which is +normally issued if `archive' ends with a single block of zeros. + * Bugfixes ** Fix handling of hard link targets by -c --transform. ** Fix hard links recognition with -c --remove-files.