mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Some output changes at the diff command.
This commit is contained in:
parent
49cd2f3a7b
commit
a1f493d18b
1 changed files with 5 additions and 5 deletions
10
scan.c
10
scan.c
|
|
@ -152,7 +152,7 @@ static void scan_file(struct snapraid_scan* scan, struct snapraid_state* state,
|
|||
fflush(stderr);
|
||||
}
|
||||
if (output) {
|
||||
printf("Move '%s/%s' '%s/%s'\n", disk->name, file->sub, disk->name, sub);
|
||||
printf("Move '%s:%s' '%s:%s'\n", disk->name, file->sub, disk->name, sub);
|
||||
}
|
||||
|
||||
/* save the new name */
|
||||
|
|
@ -188,11 +188,11 @@ static void scan_file(struct snapraid_scan* scan, struct snapraid_state* state,
|
|||
}
|
||||
|
||||
if (state->gui) {
|
||||
fprintf(stderr, "scan:change:%s:%s\n", disk->name, file->sub);
|
||||
fprintf(stderr, "scan:update:%s:%s\n", disk->name, file->sub);
|
||||
fflush(stderr);
|
||||
}
|
||||
if (output) {
|
||||
printf("Change '%s/%s'\n", disk->name, file->sub);
|
||||
printf("Update '%s:%s'\n", disk->name, file->sub);
|
||||
}
|
||||
|
||||
/* remove it */
|
||||
|
|
@ -357,7 +357,7 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
fflush(stderr);
|
||||
}
|
||||
if (output) {
|
||||
printf("Remove '%s/%s'\n", disk->name, file->sub);
|
||||
printf("Remove '%s:%s'\n", disk->name, file->sub);
|
||||
}
|
||||
|
||||
scan_file_remove(state, disk, file);
|
||||
|
|
@ -380,7 +380,7 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
fflush(stderr);
|
||||
}
|
||||
if (output) {
|
||||
printf("Add '%s/%s'\n", disk->name, file->sub);
|
||||
printf("Add '%s:%s'\n", disk->name, file->sub);
|
||||
}
|
||||
|
||||
/* insert it */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue