Skip to content

Commit

Permalink
Drop outdated touch -d example (nushell#13631)
Browse files Browse the repository at this point in the history
Fixes 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.
  • Loading branch information
weirdan authored Aug 15, 2024
1 parent 621fb25 commit 7e9d32d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/nu-command/src/filesystem/touch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"#,
Expand Down

0 comments on commit 7e9d32d

Please sign in to comment.