Browse Source

Merge pull request #253 from NekoiNemo/fix-all-doc

fix: expand `--all` help
Christina Sørensen 2 năm trước cách đây
mục cha
commit
43335f7791
4 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      completions/fish/eza.fish
  2. 1 1
      completions/zsh/_eza
  3. 1 1
      src/options/help.rs
  4. 1 1
      xtests/outputs/help.ansitxt

+ 1 - 1
completions/fish/eza.fish

@@ -25,7 +25,7 @@ complete -c eza -l hyperlink -d "Display entries as hyperlinks"
 # Filtering and sorting options
 complete -c eza -l group-directories-first -d "Sort directories before other files"
 complete -c eza -l git-ignore -d "Ignore files mentioned in '.gitignore'"
-complete -c eza -s a -l all -d "Show hidden and 'dot' files"
+complete -c eza -s a -l all -d "Show hidden and 'dot' files. Use this twice to also show the '.' and '..' directories"
 complete -c eza -s d -l list-dirs -d "List directories like regular files"
 complete -c eza -s L -l level -d "Limit the depth of recursion" -x -a "1 2 3 4 5 6 7 8 9"
 complete -c eza -s w -l width -d "Limits column output of grid, 0 implies auto-width" 

+ 1 - 1
completions/zsh/_eza

@@ -26,7 +26,7 @@ __eza() {
         --hyperlink"[Display entries as hyperlinks]" \
         --group-directories-first"[Sort directories before other files]" \
         --git-ignore"[Ignore files mentioned in '.gitignore']" \
-        {-a,--all}"[Show hidden and 'dot' files]" \
+        {-a,--all}"[Show hidden and 'dot' files. Use this twice to also show the '.' and '..' directories]" \
         {-d,--list-dirs}"[List directories like regular files]" \
         {-D,--only-dirs}"[List only directories]" \
         {-L,--level}"+[Limit the depth of recursion]" \

+ 1 - 1
src/options/help.rs

@@ -28,7 +28,7 @@ DISPLAY OPTIONS
   -w, --width COLS   set screen width in columns
 
 FILTERING AND SORTING OPTIONS
-  -a, --all                  show hidden and 'dot' files
+  -a, --all                  show hidden and 'dot' files. Use this twice to also show the '.' and '..' directories
   -d, --list-dirs            list directories as files; don't list their contents
   -L, --level DEPTH          limit the depth of recursion
   -r, --reverse              reverse the sort order

+ 1 - 1
xtests/outputs/help.ansitxt

@@ -19,7 +19,7 @@ DISPLAY OPTIONS
   --no-icons         don't display icons (always overrides --icons)
 
 FILTERING AND SORTING OPTIONS
-  -a, --all                  show hidden and 'dot' files
+  -a, --all                  show hidden and 'dot' files. Use this twice to also show the '.' and '..' directories
   -d, --list-dirs            list directories as files; don't list their contents
   -L, --level DEPTH          limit the depth of recursion
   -r, --reverse              reverse the sort order