From: Martin Pool Date: Thu, 14 Mar 2002 12:00:12 +0000 (+0000) Subject: Correct the plural in "1 file to consider." (Greg Louis) X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c7b562becf9c926f65b9845ed6cd1c3a4635cf83 Correct the plural in "1 file to consider." (Greg Louis) --- diff --git a/flist.c b/flist.c index 151ae876..045c2f22 100644 --- a/flist.c +++ b/flist.c @@ -101,12 +101,13 @@ static void finish_filelist_progress(const struct file_list *flist) { if (do_progress) { /* This overwrites the progress line */ - rprintf(FINFO, "%d files to consider\n", flist->count); - } else + rprintf(FINFO, "%d file%sto consider\n", + flist->count, flist->count == 1 ? " " : "s "); + } else { rprintf(FINFO, "done\n"); + } } - void show_flist_stats(void) { /* Nothing yet */