mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 13:54:16 -04:00
Output list-only sizes using any human-readable setting.
This commit is contained in:
1 parent
de32838ea2
commit
54504b8e4f
1 file changed
+2
-2
+2
-2
@@ -1032,7 +1032,7 @@ static void list_file_entry(struct file_struct *f)
|
||||
#ifdef SUPPORT_LINKS
|
||||
if (preserve_links && S_ISLNK(f->mode)) {
|
||||
rprintf(FINFO, "%s %*s %s %s -> %s\n",
|
||||
permbuf, colwidth, comma_num(len),
|
||||
permbuf, colwidth, human_num(len),
|
||||
timestring(f->modtime), f_name(f, NULL),
|
||||
F_SYMLINK(f));
|
||||
} else
|
||||
@@ -1043,7 +1043,7 @@ static void list_file_entry(struct file_struct *f)
|
||||
f_name(f, NULL));
|
||||
} else {
|
||||
rprintf(FINFO, "%s %*s %s %s\n",
|
||||
permbuf, colwidth, comma_num(len),
|
||||
permbuf, colwidth, human_num(len),
|
||||
timestring(f->modtime), f_name(f, NULL));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user