Change the --mkpath message.
authorWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 16:45:47 +0000 (09:45 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 16:46:53 +0000 (09:46 -0700)
main.c

diff --git a/main.c b/main.c
index 1130e24cabe130bd96194811f6228770da18c181..04b32e7474cf650e5366074750f5a489df5fc15c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -722,7 +722,7 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
                if (INFO_GTE(NAME, 1)) {
                        if (file_total == 1 || trailing_slash)
                                *cp = '\0';
-                       rprintf(FINFO, "created %s %s\n", ret == 1 ? "directory" : "path", dest_path);
+                       rprintf(FINFO, "created %d director%s for %s\n", ret, ret == 1 ? "y" : "ies", dest_path);
                        if (file_total == 1 || trailing_slash)
                                *cp = '/';
                }