Browse Source

Add --tree to README

Ben S 11 years ago
parent
commit
0d7de0a2fa
2 changed files with 2 additions and 1 deletions
  1. 1 0
      README.md
  2. 1 1
      src/options.rs

+ 1 - 0
README.md

@@ -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**.

+ 1 - 1
src/options.rs

@@ -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");