summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorTim Ledbetter <timledbetter@gmail.com>2023-03-11 20:54:53 +0000
committerSam Atkins <atkinssj@gmail.com>2023-03-13 07:53:24 +0000
commit82219d0879aee5d47abccfeab6b7ca5894e5e522 (patch)
treecc059d8b6f08db16bbb2df85eea513b8b111d901 /Base
parent0454d655bb2cd15e1bc6c3ce2a0398b35c7ec07c (diff)
downloadserenity-82219d0879aee5d47abccfeab6b7ca5894e5e522.zip
Base: Add missing options to sort man page
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/sort.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/sort.md b/Base/usr/share/man/man1/sort.md
index 6a0c004bcf..e38e6c6a6c 100644
--- a/Base/usr/share/man/man1/sort.md
+++ b/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