Просмотр исходного кода

Change time option's description

Ben S 11 лет назад
Родитель
Сommit
a777794f65
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      README.md
  2. 1 1
      src/options.rs

+ 1 - 0
README.md

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

+ 1 - 1
src/options.rs

@@ -56,7 +56,7 @@ impl Options {
         opts.optflag("R", "recurse",   "recurse into directories");
         opts.optopt ("s", "sort",      "field to sort by", "WORD");
         opts.optflag("S", "blocks",    "show number of file system blocks");
-        opts.optopt ("t", "time",      "timestamp field to show", "WORD");
+        opts.optopt ("t", "time",      "which timestamp to show for a file", "WORD");
         opts.optflag("T", "tree",      "recurse into subdirectories in a tree view");
         opts.optflag("x", "across",    "sort multi-column view entries across");
         opts.optflag("?", "help",      "show list of command-line options");