Merge pull request #432 from jcrd/docs

Documentation fixes
This commit is contained in:
Benjamin Sago 2018-10-30 13:05:01 +00:00 committed by GitHub
commit abf3222188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View File

@ -30,6 +30,7 @@ exas options are almost, but not quite, entirely unlike `ls`'s.
- **-r**, **--reverse**: reverse the sort order - **-r**, **--reverse**: reverse the sort order
- **-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
- **--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

View File

@ -74,6 +74,11 @@ list directories like regular files
.RS .RS
.RE .RE
.TP .TP
.B \-L, \-\-level=\f[I]DEPTH\f[]
limit the depth of recursion
.RS
.RE
.TP
.B \-r, \-\-reverse .B \-r, \-\-reverse
reverse the sort order reverse the sort order
.RS .RS
@ -102,6 +107,11 @@ ignore files mentioned in '.gitignore'
list directories before other files list directories before other files
.RS .RS
.RE .RE
.TP
.B \-D, \-\-only\-dirs
list only directories
.RS
.RE
.SH LONG VIEW OPTIONS .SH LONG VIEW OPTIONS
.PP .PP
These options are available when running with \f[C]\-\-long\f[] These options are available when running with \f[C]\-\-long\f[]
@ -137,11 +147,6 @@ list each file\[aq]s inode number
.RS .RS
.RE .RE
.TP .TP
.B \-L, \-\-level=\f[I]DEPTH\f[]
limit the depth of recursion
.RS
.RE
.TP
.B \-m, \-\-modified .B \-m, \-\-modified
use the modified timestamp field use the modified timestamp field
.RS .RS

View File

@ -23,9 +23,11 @@ DISPLAY OPTIONS
FILTERING AND SORTING OPTIONS FILTERING AND SORTING OPTIONS
-a, --all show hidden and 'dot' files -a, --all show hidden and 'dot' files
-d, --list-dirs list directories like regular files -d, --list-dirs list directories like regular files
-L, --level DEPTH limit the depth of recursion
-r, --reverse reverse the sort order -r, --reverse reverse the sort order
-s, --sort SORT_FIELD which field to sort by -s, --sort 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
-I, --ignore-glob GLOBS glob patterns (pipe-separated) of files to ignore -I, --ignore-glob GLOBS glob patterns (pipe-separated) of files to ignore
--git-ignore Ignore files mentioned in '.gitignore' --git-ignore Ignore files mentioned in '.gitignore'
Valid sort fields: name, Name, extension, Extension, size, type, Valid sort fields: name, Name, extension, Extension, size, type,
@ -41,7 +43,6 @@ LONG VIEW OPTIONS
-h, --header add a header row to each column -h, --header add a header row to each column
-H, --links list each file's number of hard links -H, --links list each file's number of hard links
-i, --inode list each file's inode number -i, --inode list each file's inode number
-L, --level DEPTH limit the depth of recursion
-m, --modified use the modified timestamp field -m, --modified use the modified timestamp field
-S, --blocks show number of file system blocks -S, --blocks show number of file system blocks
-t, --time FIELD which timestamp field to list (modified, accessed, created) -t, --time FIELD which timestamp field to list (modified, accessed, created)