Merge remote-tracking branch 'origin/feat/rsync-partial-progress' into dev

This commit is contained in:
2026-09-05 02:39:03 +02:00
5 changed files with 30 additions and 4 deletions
+6
View File
@@ -541,6 +541,11 @@ int parse_args(Config* config, int argc, char* argv[], int* positional_args,
}
for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "-P") == 0) {
config->partial = true;
config->show_progress = true;
continue;
}
if (strncmp(argv[i], "--no-", strlen("--no-")) == 0) {
if (apply_negation(config, argv[i]) != 0)
return -1;
@@ -581,6 +586,7 @@ int parse_args(Config* config, int argc, char* argv[], int* positional_args,
}
continue;
}
const OptionEntry* entry = find_table_option(argv[i]);
const char* inline_value = NULL;
if (!entry)
+1
View File
@@ -21,6 +21,7 @@ void print_usage(void) {
printf(" --remove-source-files Remove regular source files after successful transfer\n");
printf(" -p <port> SSH port (default: 22)\n");
printf(" --progress Show transfer progress\n");
printf(" -P Partial mode with progress (retention incomplete)\n");
printf(" -8, --8-bit-output Leave high-bit characters unescaped in output\n");
printf(" --delete Delete files on receiver not in source\n");
printf(" --ignore-existing Skip files that already exist on receiver\n");