Add --tree to README

This commit is contained in:
Ben S 2015-02-09 16:49:31 +00:00
parent a777794f65
commit 0d7de0a2fa
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ exa is a replacement for `ls` written in Rust.
- **-s**, **--sort=(field)**: field to sort by
- **-S**, **--blocks**: show number of file system blocks
- **-t**, **--time**: which timestamp to show for a file
- **-T**, **--tree**: recurse into subdirectories in a tree view
- **-x**, **--across**: sort multi-column view entries across
You can sort by **name**, **size**, **ext**, **inode**, or **none**.

View File

@ -50,8 +50,8 @@ impl Options {
opts.optflag("g", "group", "show group as well as user");
opts.optflag("h", "header", "show a header row at the top");
opts.optflag("H", "links", "show number of hard links");
opts.optflag("l", "long", "display extended details and attributes");
opts.optflag("i", "inode", "show each file's inode number");
opts.optflag("l", "long", "display extended details and attributes");
opts.optflag("r", "reverse", "reverse order of files");
opts.optflag("R", "recurse", "recurse into directories");
opts.optopt ("s", "sort", "field to sort by", "WORD");