Rename function argument.

This commit is contained in:
Kevin 2020-03-12 13:37:30 -05:00
parent bf4cf561ca
commit e7ab70f0f0
No known key found for this signature in database
GPG Key ID: 73A2AF10B0FD9D7D

View File

@ -10,6 +10,7 @@ pub struct Ls;
#[derive(Deserialize)] #[derive(Deserialize)]
pub struct LsArgs { pub struct LsArgs {
pub path: Option<Tagged<PathBuf>>, pub path: Option<Tagged<PathBuf>>,
pub all: bool,
pub full: bool, pub full: bool,
#[serde(rename = "short-names")] #[serde(rename = "short-names")]
pub short_names: bool, pub short_names: bool,
@ -29,6 +30,7 @@ impl PerItemCommand for Ls {
SyntaxShape::Pattern, SyntaxShape::Pattern,
"a path to get the directory contents from", "a path to get the directory contents from",
) )
.switch("all", "show hidden files", Some('a'))
.switch( .switch(
"full", "full",
"list all available columns for each entry", "list all available columns for each entry",