mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-29 15:13:54 +00:00
Update the docs where it counts
This commit is contained in:
parent
0aa33595d7
commit
7e302718fe
@ -24,7 +24,7 @@ exa’s options are similar, but not exactly the same, as `ls`.
|
||||
|
||||
### Filtering Options
|
||||
|
||||
- **-a**, **--all**: don't hide hidden and 'dot' files
|
||||
- **-a**, **--all**: show hidden and 'dot' files
|
||||
- **-d**, **--list-dirs**: list directories like regular files
|
||||
- **-L**, **--level=(depth)**: limit the depth of recursion
|
||||
- **-r**, **--reverse**: reverse the sort order
|
||||
@ -32,6 +32,8 @@ exa’s options are similar, but not exactly the same, as `ls`.
|
||||
- **--group-directories-first**: list directories before other files
|
||||
- **-I**, **--ignore-glob=(globs)**: glob patterns (pipe-separated) of files to ignore
|
||||
|
||||
Pass the `--all` option twice to also show the `.` and `..` directories.
|
||||
|
||||
### Long View Options
|
||||
|
||||
These options are available when running with --long (`-l`):
|
||||
|
@ -17,7 +17,7 @@ complete -c exa -l 'colour-scale' -d "Highlight levels of file sizes dist
|
||||
|
||||
# Filtering and sorting options
|
||||
complete -c exa -l 'group-directories-first' -d "Sort directories before other files"
|
||||
complete -c exa -s 'a' -l 'all' -d "Don't hide hidden and 'dot' files"
|
||||
complete -c exa -s 'a' -l 'all' -d "Show and 'dot' files"
|
||||
complete -c exa -s 'd' -l 'list-dirs' -d "List directories like regular files"
|
||||
complete -c exa -s 'L' -l 'level' -d "Limit the depth of recursion" -a "1 2 3 4 5 6 7 8 9"
|
||||
complete -c exa -s 'r' -l 'reverse' -d "Reverse the sort order"
|
||||
|
@ -14,7 +14,7 @@ __exa() {
|
||||
{--color,--colour}"[When to use terminal colours]" \
|
||||
{--color,--colour}-scale"[Highlight levels of file sizes distinctly]" \
|
||||
--group-directories-first"[Sort directories before other files]" \
|
||||
{-a,--all}"[Don't hide hidden and 'dot' files]" \
|
||||
{-a,--all}"[Show hidden and 'dot' files]" \
|
||||
{-d,--list-dirs}"[List directories like regular files]" \
|
||||
{-L,--level}"+[Limit the depth of recursion]" \
|
||||
{-r,--reverse}"[Reverse the sort order]" \
|
||||
|
@ -59,7 +59,8 @@ highlight levels of file sizes distinctly
|
||||
.SH FILTERING AND SORTING OPTIONS
|
||||
.TP
|
||||
.B \-a, \-\-all
|
||||
don\[aq]t hide hidden and \[aq]dot\[aq] files
|
||||
show hidden and \[aq]dot\[aq] files.
|
||||
Use this twice to also show the \f[C].\f[] and \f[C]..\f[] directories.
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
@ -17,7 +17,7 @@ DISPLAY OPTIONS
|
||||
--colo[u]r-scale highlight levels of file sizes distinctly
|
||||
|
||||
FILTERING AND SORTING OPTIONS
|
||||
-a, --all don't hide hidden and 'dot' files
|
||||
-a, --all show hidden and 'dot' files
|
||||
-d, --list-dirs list directories like regular files
|
||||
-r, --reverse reverse the sort order
|
||||
-s, --sort SORT_FIELD which field to sort by:
|
||||
|
@ -69,7 +69,7 @@ impl Options {
|
||||
|
||||
// Filtering and sorting options
|
||||
opts.optflag("", "group-directories-first", "sort directories before other files");
|
||||
opts.optflagmulti("a", "all", "don't hide hidden and 'dot' files");
|
||||
opts.optflagmulti("a", "all", "show hidden and 'dot' files");
|
||||
opts.optflag("d", "list-dirs", "list directories like regular files");
|
||||
opts.optopt ("L", "level", "limit the depth of recursion", "DEPTH");
|
||||
opts.optflag("r", "reverse", "reverse the sert order");
|
||||
|
@ -16,7 +16,7 @@ DISPLAY OPTIONS
|
||||
--colo[u]r-scale highlight levels of file sizes distinctly
|
||||
|
||||
FILTERING AND SORTING OPTIONS
|
||||
-a, --all don't hide hidden and 'dot' files
|
||||
-a, --all show hidden and 'dot' files
|
||||
-d, --list-dirs list directories like regular files
|
||||
-r, --reverse reverse the sort order
|
||||
-s, --sort SORT_FIELD which field to sort by:
|
||||
|
Loading…
Reference in New Issue
Block a user