diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-11-13 16:52:16 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-11-13 16:52:16 +0100 |
commit | 3e8de361f5b23ec1a21caf5aa59b2cfd12370460 (patch) | |
tree | 017692ad00ca1b519ed89f4af275544bdd0577df | |
parent | 5761e27db9bdf54ad3cec3571950ccb69206427c (diff) | |
download | lr-3e8de361f5b23ec1a21caf5aa59b2cfd12370460.tar.gz lr-3e8de361f5b23ec1a21caf5aa59b2cfd12370460.tar.xz lr-3e8de361f5b23ec1a21caf5aa59b2cfd12370460.zip |
set sensible default widths for -U
-rw-r--r-- | lr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lr.c b/lr.c index c680cd8..acb2526 100644 --- a/lr.c +++ b/lr.c @@ -2347,6 +2347,16 @@ main(int argc, char *argv[]) } analyze_format(); + if (Uflag) { + maxnlink = 99; + maxsize = 4*1024*1024; + maxblocks = maxsize / 512; + maxrdev = maxdev = 255; + maxuid = maxgid = 65536; + maxino = 9999999; + maxdepth = 99; + uwid = gwid = fwid = 8; + } if (Xflag) { basepath = realpath(".", 0); if (!basepath) { |