summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-03-06 22:42:13 -0800
committerWayne Davison <wayned@samba.org>2009-03-06 22:42:13 -0800
commitb5473dd4a97681c98fee632d07c34bade9b204d6 (patch)
tree1562264fa4bef7c2196d4569c0e94b157291a95a
parent4e0fa131fe6a5d864bb6918ff32671484df132c9 (diff)
downloadrsync-b5473dd4a97681c98fee632d07c34bade9b204d6.tar.gz
rsync-b5473dd4a97681c98fee632d07c34bade9b204d6.tar.bz2
rsync-b5473dd4a97681c98fee632d07c34bade9b204d6.zip
Made --list-only output missing args as a "*missing" line.
-rw-r--r--generator.c6
1 files changed, 5 insertions, 1 deletions
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));