Sfoglia il codice sorgente

docs: documenting --only-files

Mohamed Emad 2 anni fa
parent
commit
34ae54ba93
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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
 - **-s**, **--sort=(field)**: which field to sort by
 - **--group-directories-first**: list directories before other files
 - **--group-directories-first**: list directories before other files
 - **-D**, **--only-dirs**: list only directories
 - **-D**, **--only-dirs**: list only directories
+- **-f**, **--only-files**: list only files
 - **--git-ignore**: ignore files mentioned in `.gitignore`
 - **--git-ignore**: ignore files mentioned in `.gitignore`
 - **-I**, **--ignore-glob=(globs)**: glob patterns (pipe-separated) of files to ignore
 - **-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`
 `-D`, `--only-dirs`
 : List only directories, not files.
 : List only directories, not files.
 
 
+`-f`, `--only-files`
+: List only files, not directories.
+
 
 
 LONG VIEW OPTIONS
 LONG VIEW OPTIONS
 =================
 =================