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:
parent
aaea3b40fb
commit
6cb0d5ad7d
1 changed files with 2 additions and 0 deletions
|
@ -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 },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue