From: Wayne Davison Date: Sat, 7 Mar 2009 06:42:13 +0000 (-0800) Subject: Made --list-only output missing args as a "*missing" line. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b5473dd4a97681c98fee632d07c34bade9b204d6?ds=sidebyside Made --list-only output missing args as a "*missing" line. --- diff --git a/generator.c b/generator.c index a9f3374d..6dc4e7f7 100644 --- a/generator.c +++ b/generator.c @@ -1031,7 +1031,11 @@ static void list_file_entry(struct file_struct *f) F_SYMLINK(f)); } else #endif - { + if (delete_missing_args && !f->mode) { + rprintf(FINFO, "%-*s %s\n", + colwidth + 31, "*missing", + f_name(f, NULL)); + } else { rprintf(FINFO, "%s %*s %s %s\n", permbuf, colwidth, comma_num(len), timestring(f->modtime), f_name(f, NULL));