From e7ab70f0f0f4efc3938d904571ea91dd491fe270 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 12 Mar 2020 13:37:30 -0500 Subject: [PATCH] Rename function argument. --- crates/nu-cli/src/commands/ls.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/nu-cli/src/commands/ls.rs b/crates/nu-cli/src/commands/ls.rs index b2252bdf23..269950bd44 100644 --- a/crates/nu-cli/src/commands/ls.rs +++ b/crates/nu-cli/src/commands/ls.rs @@ -10,6 +10,7 @@ pub struct Ls; #[derive(Deserialize)] pub struct LsArgs { pub path: Option>, + pub all: bool, pub full: bool, #[serde(rename = "short-names")] pub short_names: bool, @@ -29,6 +30,7 @@ impl PerItemCommand for Ls { SyntaxShape::Pattern, "a path to get the directory contents from", ) + .switch("all", "show hidden files", Some('a')) .switch( "full", "list all available columns for each entry",