From 47574de6b13649eb57daadbe28d7e35d0371b568 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 16 Sep 2022 15:54:23 +0200 Subject: [PATCH] docs/path: Fix typos --- doc_src/cmds/path.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/path.rst b/doc_src/cmds/path.rst index 9425bf73c..400af0e58 100644 --- a/doc_src/cmds/path.rst +++ b/doc_src/cmds/path.rst @@ -393,7 +393,7 @@ Examples With ``--reverse`` or ``-r`` the sort is reversed. -With ``--key=`` only the given path of the path is compared, e.g. ``--key=dirname`` causes only the dirname to be compared, ``--key=basename`` only the basename and ``--key=path`` causes the entire path to be compared (this is the default). +With ``--key=`` only the given part of the path is compared, e.g. ``--key=dirname`` causes only the dirname to be compared, ``--key=basename`` only the basename and ``--key=path`` causes the entire path to be compared (this is the default). With ``--unique`` or ``-u`` the sort is deduplicated, meaning only the first of a run that have the same key is kept. So if you are sorting by basename, then only the first of each basename is used. @@ -410,7 +410,7 @@ Examples 2-bar 10-foo - >_ path sort --invert 10-foo 2-bar + >_ path sort --reverse 10-foo 2-bar 10-foo 2-bar