1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

add comment for explicit in the Preserve enum

This commit is contained in:
tommady 2023-10-11 07:53:03 +00:00
parent aaea3b40fb
commit 6cb0d5ad7d
No known key found for this signature in database
GPG key ID: 175B664929DF2F2F

View file

@ -184,6 +184,8 @@ pub struct Attributes {
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Preserve {
// explicit means is the --no-preserve flag is used or not to distinguish out the default value.
// e.g. --no-preserve=mode means mode = No { explicit = true }
No { explicit: bool },
Yes { required: bool },
}