mirror of https://github.com/lsd-rs/lsd
Update doc
This commit is contained in:
parent
92d4e96622
commit
bc6c930831
|
|
@ -219,8 +219,8 @@ size: default
|
||||||
|
|
||||||
# == Permission ==
|
# == Permission ==
|
||||||
# Specify the format of the permission column
|
# Specify the format of the permission column
|
||||||
# Possible value: rwx, octal
|
# Possible value: rwx, octal, attributes (windows only), disabled
|
||||||
permission: rwx
|
# permission: rwx
|
||||||
|
|
||||||
# == Sorting ==
|
# == Sorting ==
|
||||||
sorting:
|
sorting:
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ lsd is a ls command with a lot of pretty colours and some other stuff to enrich
|
||||||
: Do not display files/directories with names matching the glob pattern(s). More than one can be specified by repeating the argument [default: ]
|
: Do not display files/directories with names matching the glob pattern(s). More than one can be specified by repeating the argument [default: ]
|
||||||
|
|
||||||
`--permission <permission>...`
|
`--permission <permission>...`
|
||||||
: How to display permissions [default: rwx] [possible values: rwx, octal]
|
: How to display permissions [default: rwx for linux, attributes for windows] [possible values: rwx, octal, attributes, disable]
|
||||||
|
|
||||||
`--size <size>...`
|
`--size <size>...`
|
||||||
: How to display size [default: default] [possible values: default, short, bytes]
|
: How to display size [default: default] [possible values: default, short, bytes]
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ pub struct Cli {
|
||||||
#[arg(short, long, conflicts_with_all = ["depth", "recursive"])]
|
#[arg(short, long, conflicts_with_all = ["depth", "recursive"])]
|
||||||
pub directory_only: bool,
|
pub directory_only: bool,
|
||||||
|
|
||||||
/// How to display permissions [default: rwx for non-windows, attributes for windows]
|
/// How to display permissions [default: rwx for linux, attributes for windows]
|
||||||
#[arg(long, value_name = "MODE", value_parser = ["rwx", "octal", "attributes", "disable"])]
|
#[arg(long, value_name = "MODE", value_parser = ["rwx", "octal", "attributes", "disable"])]
|
||||||
pub permission: Option<String>,
|
pub permission: Option<String>,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue