Procházet zdrojové kódy

docs(total-size): added the fact that total-size is unix only

MartinFillon před 2 roky
rodič
revize
cf0c57d7ad

+ 1 - 1
completions/fish/eza.fish

@@ -103,7 +103,7 @@ complete -c eza -l time-style -d "How to format timestamps" -x -a "
     full-iso\t'Display full ISO timestamps, up to the nanosecond'
     relative\t'Display relative timestamps'
 "
-complete -c eza -l total-size -d "Show recursive directory size"
+complete -c eza -l total-size -d "Show recursive directory size (unix only)"
 complete -c eza -l no-permissions -d "Suppress the permissions field"
 complete -c eza -s o -l octal-permissions -d "List each file's permission in octal format"
 complete -c eza -l no-filesize -d "Suppress the filesize field"

+ 1 - 1
completions/nush/eza.nu

@@ -44,7 +44,7 @@ export extern "eza" [
     --accessed(-u)             # Use the accessed timestamp field
     --created(-U)              # Use the created timestamp field
     --time-style               # How to format timestamps
-    --total-size               # Show recursive directory size
+    --total-size               # Show recursive directory size (unix only)
     --no-permissions           # Suppress the permissions field
     --octal-permissions(-o)    # List each file's permission in octal format
     --no-filesize              # Suppress the filesize field

+ 1 - 1
completions/zsh/_eza

@@ -50,7 +50,7 @@ __eza() {
         {-S,--blocksize}"[List each file's size of allocated file system blocks.]" \
         {-t,--time}="[Which time field to show]:(time field):(accessed changed created modified)" \
         --time-style="[How to format timestamps]:(time style):(default iso long-iso full-iso relative)" \
-        --total-size="[Show recursive directory size]" \
+        --total-size="[Show recursive directory size (unix only)]" \
         --no-permissions"[Suppress the permissions field]" \
         {-o,--octal-permissions}"[List each file's permission in octal format]" \
         --no-filesize"[Suppress the filesize field]" \

+ 1 - 1
man/eza.1.md

@@ -214,7 +214,7 @@ These options are available when running with `--long` (`-l`):
 : Valid timestamp styles are ‘`default`’, ‘`iso`’, ‘`long-iso`’, ‘`full-iso`’, ‘`relative`', or you can use a `custom` style with '`+`' as prefix. (Ex: "`+%Y/%m/%d, %H:%M`" => "`2023/9/30, 12:00`"). for more details about format syntax, please read: https://docs.rs/chrono/latest/chrono/format/strftime/index.html
 
 `--total-size`
-: Show recursive directory size.
+: Show recursive directory size (unix only).
 
 `-u`, `--accessed`
 : Use the accessed timestamp field.

+ 1 - 1
src/options/help.rs

@@ -70,7 +70,7 @@ LONG VIEW OPTIONS
                              full-iso, relative, or a custom style with '+' as
                              prefix. Ex: '+%Y/%m/%d')
   --total-size               show the size of a directory as the size of all
-                             files and directories inside
+                             files and directories inside (unix only)
   --no-permissions           suppress the permissions field
   -o, --octal-permissions    list each file's permission in octal format
   --no-filesize              suppress the filesize field