From 7e9d32d64e1de72246eb3236ba2ef8353112f5f0 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Thu, 15 Aug 2024 23:57:25 +0200 Subject: [PATCH] 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. --- crates/nu-command/src/filesystem/touch.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/nu-command/src/filesystem/touch.rs b/crates/nu-command/src/filesystem/touch.rs index 2a1e128b046d..a3e5bc40f1b0 100644 --- a/crates/nu-command/src/filesystem/touch.rs +++ b/crates/nu-command/src/filesystem/touch.rs @@ -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"#,