From f9afe8a97eb2b75adf53bb0d7cf2e4f12eb1b3d6 Mon Sep 17 00:00:00 2001 From: Alexander Gramiak Date: Mon, 24 Jun 2019 15:54:36 +0200 Subject: Add Zstandard compression support for etags * lib-src/etags.c: (compressors): Add zstd support. (print_language_names): Report zstd support. * doc/man/etags.1: Update doc. --- lib-src/etags.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib-src') diff --git a/lib-src/etags.c b/lib-src/etags.c index d2395cea33a..6165872e4cf 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -519,6 +519,7 @@ static compressor compressors[] = { "GZ", "gzip -d -c"}, { "bz2", "bzip2 -d -c" }, { "xz", "xz -d -c" }, + { "zst", "zstd -d -c -q" }, { NULL } }; @@ -861,7 +862,7 @@ followed by the name of an interpreter. If no such sequence is found,\n\ Fortran is tried first; if no tags are found, C is tried next.\n\ When parsing any C file, a \"class\" or \"template\" keyword\n\ switches to C++."); - puts ("Compressed files are supported using gzip, bzip2, and xz.\n\ + puts ("Compressed files are supported using gzip, bzip2, xz, and zstd.\n\ \n\ For detailed help on a given language use, for example,\n\ etags --help --lang=ada."); -- cgit v1.2.1