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:
parent
c45bbe3d1c
commit
8e9a4b5f9a
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue