" xpress (alias: \"fast\")\n"
" lzx (alias: \"maximum\") (default for capture)\n"
" lzms (alias: \"recovery\")\n"
+#ifdef WITH_ZSTD
+ " zstd (alias: \"zstandard\")\n"
+#endif
"\n"
);
tfputs(s, fp);
ctype = WIMLIB_COMPRESSION_TYPE_LZMS;
} else if (!tstrcasecmp(optarg, T("lzms"))) {
ctype = WIMLIB_COMPRESSION_TYPE_LZMS;
+#ifdef WITH_ZSTD
+ } else if (!tstrcasecmp(optarg, T("zstd")) ||
+ !tstrcasecmp(optarg, T("zstandard"))) {
+ ctype = WIMLIB_COMPRESSION_TYPE_ZSTD;
+#endif
} else if (!tstrcasecmp(optarg, T("none"))) {
ctype = WIMLIB_COMPRESSION_TYPE_NONE;
} else {