fix(cli): correct help text, per-codec compression default, and stale test

This commit is contained in:
2026-09-21 19:26:42 +02:00
parent bb9b59024a
commit b478a59a81
3 changed files with 87 additions and 31 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ bool validate_config(const Config* config) {
return false;
}
if (config->compression_threads > 0 && !config->use_compression) {
log_message(LOG_LEVEL_ERROR, "--compress-threads requires compression (-c or -z)");
log_message(LOG_LEVEL_ERROR, "--compress-threads requires compression (-z/--compress)");
return false;
}
if (config->transport == TRANSPORT_SSH && config->use_sendfile) {