1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

chgrp: adjust the output with group

This commit is contained in:
Sylvestre Ledru 2025-01-12 21:13:07 +01:00
parent c45bbe3d1c
commit 8e9a4b5f9a

View file

@ -468,9 +468,13 @@ impl ChownExecutor {
}
_ => entries::uid2usr(uid).unwrap_or_else(|_| uid.to_string()),
};
if self.verbosity.groups_only {
println!("group of {} retained as {}", path.quote(), ownership);
} else {
println!("ownership of {} retained as {}", path.quote(), ownership);
}
}
}
}
pub mod options {