diff --git a/crates/nu-cli/src/shell/filesystem_shell.rs b/crates/nu-cli/src/shell/filesystem_shell.rs index 91c1a1fa63..2deb25d5d6 100644 --- a/crates/nu-cli/src/shell/filesystem_shell.rs +++ b/crates/nu-cli/src/shell/filesystem_shell.rs @@ -607,7 +607,8 @@ impl Shell for FilesystemShell { } if let Err(e) = result { - let msg = format!("Could not delete because: {:}", e); + let msg = + format!("Could not delete because: {:}\nTry '--trash' flag", e); Err(ShellError::labeled_error(msg, e.to_string(), tag)) } else { let val = format!("deleted {:}", f.to_string_lossy()).into();