mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 23:49:44 +01:00
# Description Fixes #13093 by: * Removing the mentioned help example * Updating the `--accessed` and `--modified` flag descriptions to remove mention of "timestamp/date" # User-Facing Changes Help changes # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib`
This commit is contained in:
parent
cfe13397ed
commit
d2121a155e
@ -35,12 +35,12 @@ impl Command for Touch {
|
|||||||
)
|
)
|
||||||
.switch(
|
.switch(
|
||||||
"modified",
|
"modified",
|
||||||
"change the modification time of the file or directory. If no timestamp, date or reference file/directory is given, the current time is used",
|
"change the modification time of the file or directory. If no reference file/directory is given, the current time is used",
|
||||||
Some('m'),
|
Some('m'),
|
||||||
)
|
)
|
||||||
.switch(
|
.switch(
|
||||||
"access",
|
"access",
|
||||||
"change the access time of the file or directory. If no timestamp, date or reference file/directory is given, the current time is used",
|
"change the access time of the file or directory. If no reference file/directory is given, the current time is used",
|
||||||
Some('a'),
|
Some('a'),
|
||||||
)
|
)
|
||||||
.switch(
|
.switch(
|
||||||
@ -189,11 +189,6 @@ impl Command for Touch {
|
|||||||
example: r#"touch -m -r fixture.json d e"#,
|
example: r#"touch -m -r fixture.json d e"#,
|
||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
Example {
|
|
||||||
description: r#"Changes the last accessed time of "fixture.json" to a date"#,
|
|
||||||
example: r#"touch -a -d "August 24, 2019; 12:30:30" fixture.json"#,
|
|
||||||
result: None,
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user