From bc6c93083180868b22b9da04f201ba5eef8897c4 Mon Sep 17 00:00:00 2001 From: Dom Slee Date: Fri, 29 Sep 2023 19:31:53 +1000 Subject: [PATCH] Update doc --- README.md | 4 ++-- doc/lsd.md | 2 +- src/app.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ae47fd3fe..c2697487f 100644 --- a/README.md +++ b/README.md @@ -219,8 +219,8 @@ size: default # == Permission == # Specify the format of the permission column -# Possible value: rwx, octal -permission: rwx +# Possible value: rwx, octal, attributes (windows only), disabled +# permission: rwx # == Sorting == sorting: diff --git a/doc/lsd.md b/doc/lsd.md index 28bd63b23..78a120465 100644 --- a/doc/lsd.md +++ b/doc/lsd.md @@ -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: ] `--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 ...` : How to display size [default: default] [possible values: default, short, bytes] diff --git a/src/app.rs b/src/app.rs index 86aec6275..68158b913 100644 --- a/src/app.rs +++ b/src/app.rs @@ -68,7 +68,7 @@ pub struct Cli { #[arg(short, long, conflicts_with_all = ["depth", "recursive"])] 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"])] pub permission: Option,