Merge pull request #536 from filalex77/icons-flag-docs

Add documentation for --icons flag
This commit is contained in:
Benjamin Sago 2019-07-19 12:00:21 +01:00 committed by GitHub
commit 4d9c6eb39c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

2
contrib/completions.fish Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/bin/sh
# Meta-stuff
complete -c exa -s 'v' -l 'version' -d "Show version of exa"
complete -c exa -s '?' -l 'help' -d "Show list of command-line options"
@ -14,6 +15,7 @@ complete -c exa -l 'color' -d "When to use terminal colours"
complete -c exa -l 'colour' -d "When to use terminal colours"
complete -c exa -l 'color-scale' -d "Highlight levels of file sizes distinctly"
complete -c exa -l 'colour-scale' -d "Highlight levels of file sizes distinctly"
complete -c exa -l 'icons' -d "Display icons"
# Filtering and sorting options
complete -c exa -l 'group-directories-first' -d "Sort directories before other files"

View File

@ -21,6 +21,7 @@ __exa() {
{-F,--classify}"[Display type indicator by file names]" \
--colo{,u}r"[When to use terminal colours]" \
--colo{,u}r-scale"[Highlight levels of file sizes distinctly]" \
--icons"[Display icons]" \
--group-directories-first"[Sort directories before other files]" \
--git-ignore"[Ignore files mentioned in '.gitignore']" \
{-a,--all}"[Show hidden and 'dot' files]" \

View File

@ -61,6 +61,11 @@ when to use terminal colours (always, automatic, never)
highlight levels of file sizes distinctly
.RS
.RE
.TP
.B \-\-icons
display icons
.RS
.RE
.SH FILTERING AND SORTING OPTIONS
.TP
.B \-a, \-\-all

View File

@ -19,6 +19,7 @@ DISPLAY OPTIONS
-F, --classify display type indicator by file names
--colo[u]r=WHEN when to use terminal colours (always, auto, never)
--colo[u]r-scale highlight levels of file sizes distinctly
--icons display icons
FILTERING AND SORTING OPTIONS
-a, --all show hidden and 'dot' files