{"Gzip9", INC_KW_COMPRESSION, "Z9"},
{"Lzo", INC_KW_COMPRESSION, "Zo"},
{"zstd", INC_KW_COMPRESSION, "Zs"},
+ {"zstd3", INC_KW_COMPRESSION, "Zs"},
{"zstd1", INC_KW_COMPRESSION, "Zr"},
- {"zstd10", INC_KW_COMPRESSION, "Zs"},
+ {"zstd10", INC_KW_COMPRESSION, "Zu"},
{"zstd19", INC_KW_COMPRESSION, "Zt"},
{"blowfish", INC_KW_ENCRYPTION, "B"}, /* ***FIXME*** not implemented */
{"3des", INC_KW_ENCRYPTION, "3"}, /* ***FIXME*** not implemented */
fo->Compress_algo = COMPRESS_LZO1X;
fo->Compress_level = 1; /* not used with LZO */
}
- else if (*p >= 'r' && *p <= 't') {
+ else if (*p >= 'r' && *p <= 'u') {
fo->flags |= FO_COMPRESS;
fo->Compress_algo = COMPRESS_ZSTD;
switch(*p) {
+ case 'u':
+ fo->Compress_level = 10;
+ break;
case 'r':
fo->Compress_level = 1;
break;
break;
case 's':
default:
- fo->Compress_level = 10;
+ fo->Compress_level = 3;
break;
}
} else {