Ver código fonte

Base: Add missing options to sort man page

Tim Ledbetter 2 anos atrás
pai
commit
82219d0879
1 arquivos alterados com 8 adições e 0 exclusões
  1. 8 0
      Base/usr/share/man/man1/sort.md

+ 8 - 0
Base/usr/share/man/man1/sort.md

@@ -12,6 +12,14 @@ $ sort [INPUT]
 
 Sort each lines of INPUT (or standard input). A quick sort algorithm is used.
 
+## Options
+
+* `-k keydef`, `--key-field keydef`: The field to sort by
+* `-u`, `--unique`: Don't emit duplicate lines
+* `-n`, `--numeric`: Treat the key field as a number
+* `-t char`, `--sep char`: The separator to split fields by
+* `-r`, `--reverse`: Sort in reverse order
+
 ## Examples
 
 ```sh