Drop outdated touch -d example (#13631)

Fixes nushell/nushell#8723

# Description

The example was showing the flag that no longer exists.

# User-Facing Changes

Help no longer shows the example with `-d` flag.

# Tests + Formatting

I trust in CI.

# After Submitting

Nothing.
This commit is contained in:
Bruce Weirdan 2024-08-15 23:57:25 +02:00 committed by GitHub
parent 621fb25670
commit 7e9d32d64e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,11 +179,6 @@ impl Command for Touch {
example: "touch -m fixture.json",
result: None,
},
Example {
description: "Changes the last modified time of files a, b and c to a date",
example: r#"touch -m -d "yesterday" a b c"#,
result: None,
},
Example {
description: r#"Changes the last modified time of file d and e to "fixture.json"'s last modified time"#,
example: r#"touch -m -r fixture.json d e"#,