From e26364f8853145d5288ce5bbf88e7ed4f18040ae Mon Sep 17 00:00:00 2001 From: Wind Date: Thu, 19 Dec 2024 00:45:54 +0800 Subject: [PATCH] Remove `-a/-all` flag in du. (#14618) Just noticed that I forget to remove `-a/-all` flag in `du`'s signature in #14407 This pr is going to remove it --- crates/nu-command/src/filesystem/du.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/nu-command/src/filesystem/du.rs b/crates/nu-command/src/filesystem/du.rs index 15dc0d78d6..f90af2f8ad 100644 --- a/crates/nu-command/src/filesystem/du.rs +++ b/crates/nu-command/src/filesystem/du.rs @@ -39,11 +39,6 @@ impl Command for Du { SyntaxShape::OneOf(vec![SyntaxShape::GlobPattern, SyntaxShape::String]), "Starting directory.", ) - .switch( - "all", - "Output file sizes as well as directory sizes", - Some('a'), - ) .switch( "deref", "Dereference symlinks to their targets for size",