Cause
.Nm
to be verbose, showing files as the owner is modified.
If the
.Fl v
flag is specified more than once, chown will print the filename, followed
by the old and new uid/gid.
.El
.Pp
The
hflag = 1;
break;
case 'v':
vflag = 1;
vflag++;
case '?':
default:
rval = 1;
}
} else {
if (vflag)
if (vflag > 1)
printf("%s: %u:%u -> %u:%u\n", p->fts_path,
p->fts_statp->st_uid, p->fts_statp->st_gid,
(uid == (uid_t)-1) ? p->fts_statp->st_uid : uid,
(gid == (gid_t)-1) ? p->fts_statp->st_gid : gid);
else if (vflag)
printf("%s\n", p->fts_path);