From a1b3c98c04f5bb001fb1d46411828a5a5b24df1c Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 14 Jun 2011 22:14:00 +0200 Subject: [PATCH] Typo fix in a message. --- TODO | 2 +- scan.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 2e66fab8..7d4b3fbc 100644 --- a/TODO +++ b/TODO @@ -24,7 +24,7 @@ integrity check of the existing ones. It should restore only missing files, without recovering modified ones or check validity of data of existing ones. -* Implement a "dry" command to check the state of files, without doing any operation. +* Implement a "probe" command to check the state of files, without doing any operation. It should prints all the changed, added and removed files. Alternatively a -dryrun option for "sync". diff --git a/scan.c b/scan.c index 0cd7d1d0..528d72d9 100644 --- a/scan.c +++ b/scan.c @@ -168,7 +168,7 @@ static void scan_file(struct snapraid_scan* scan, struct snapraid_state* state, if (strcmp(file->sub, sub) == 0) { if (!state->force_zero) { fprintf(stderr, "The file '%s' in disk '%s' at dir '%s' has now zero size!\n", sub, disk->name, disk->dir); - fprintf(stderr, "If it's really what you want to sync it, use 'snapraid --force-zero sync\n"); + fprintf(stderr, "If you really want to sync, use 'snapraid --force-zero sync'\n"); exit(EXIT_FAILURE); } } @@ -354,7 +354,7 @@ void state_scan(struct snapraid_state* state) if (scan[i].count_equal == 0 && scan[i].count_moved == 0 && scan[i].count_remove != 0) { if (!state->force_empty) { fprintf(stderr, "All the files in disk '%s' at dir '%s' are missing!\n", disk->name, disk->dir); - fprintf(stderr, "If it's really what you want to sync it, use 'snapraid --force-empty sync\n"); + fprintf(stderr, "If you really want to sync, use 'snapraid --force-empty sync'\n"); exit(EXIT_FAILURE); } }