Skip to content

Commit

Permalink
Merge pull request ogham#432 from jcrd/docs
Browse files Browse the repository at this point in the history
Documentation fixes
  • Loading branch information
ogham authored Oct 30, 2018
2 parents 57e4c08 + adb1edd commit abf3222
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exa’s options are almost, but not quite, entirely unlike `ls`'s.
- **-r**, **--reverse**: reverse the sort order
- **-s**, **--sort=(field)**: which field to sort by
- **--group-directories-first**: list directories before other files
- **-D**, **--only-dirs**: list only directories
- **--git-ignore**: ignore files mentioned in `.gitignore`
- **-I**, **--ignore-glob=(globs)**: glob patterns (pipe-separated) of files to ignore

Expand Down
15 changes: 10 additions & 5 deletions contrib/man/exa.1
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ list directories like regular files
.RS
.RE
.TP
.B \-L, \-\-level=\f[I]DEPTH\f[]
limit the depth of recursion
.RS
.RE
.TP
.B \-r, \-\-reverse
reverse the sort order
.RS
Expand Down Expand Up @@ -102,6 +107,11 @@ ignore files mentioned in '.gitignore'
list directories before other files
.RS
.RE
.TP
.B \-D, \-\-only\-dirs
list only directories
.RS
.RE
.SH LONG VIEW OPTIONS
.PP
These options are available when running with \f[C]\-\-long\f[]
Expand Down Expand Up @@ -137,11 +147,6 @@ list each file\[aq]s inode number
.RS
.RE
.TP
.B \-L, \-\-level=\f[I]DEPTH\f[]
limit the depth of recursion
.RS
.RE
.TP
.B \-m, \-\-modified
use the modified timestamp field
.RS
Expand Down
3 changes: 2 additions & 1 deletion src/options/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ DISPLAY OPTIONS
FILTERING AND SORTING OPTIONS
-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
-s, --sort SORT_FIELD which field to sort by
--group-directories-first list directories before other files
-D, --only-dirs list only directories
-I, --ignore-glob GLOBS glob patterns (pipe-separated) of files to ignore
--git-ignore Ignore files mentioned in '.gitignore'
Valid sort fields: name, Name, extension, Extension, size, type,
Expand All @@ -41,7 +43,6 @@ LONG VIEW OPTIONS
-h, --header add a header row to each column
-H, --links list each file's number of hard links
-i, --inode list each file's inode number
-L, --level DEPTH limit the depth of recursion
-m, --modified use the modified timestamp field
-S, --blocks show number of file system blocks
-t, --time FIELD which timestamp field to list (modified, accessed, created)
Expand Down

0 comments on commit abf3222

Please sign in to comment.