Просмотр исходного кода

docs: documenting --only-files

Mohamed Emad 2 лет назад
Родитель
Сommit
34ae54ba93
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      README.md
  2. 3 0
      man/eza.1.md

+ 1 - 0
README.md

@@ -286,6 +286,7 @@ eza’s options are almost, but not quite, entirely unlike `ls`’s.
 - **-s**, **--sort=(field)**: which field to sort by
 - **--group-directories-first**: list directories before other files
 - **-D**, **--only-dirs**: list only directories
+- **-f**, **--only-files**: list only files
 - **--git-ignore**: ignore files mentioned in `.gitignore`
 - **-I**, **--ignore-glob=(globs)**: glob patterns (pipe-separated) of files to ignore
 

+ 3 - 0
man/eza.1.md

@@ -119,6 +119,9 @@ Sort fields starting with a capital letter will sort uppercase before lowercase:
 `-D`, `--only-dirs`
 : List only directories, not files.
 
+`-f`, `--only-files`
+: List only files, not directories.
+
 
 LONG VIEW OPTIONS
 =================