Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _sort: Clarify option description.



---
Regarding the 'typeset -p1 -m' patch: I haven't gotten around to it yet, but
it's still on my list.  (That said, I won't complain if somebody beat me to
it.)  In the meantime:

 Completion/Unix/Command/_sort | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_sort b/Completion/Unix/Command/_sort
index 91e9132ad..c81e6f856 100644
--- a/Completion/Unix/Command/_sort
+++ b/Completion/Unix/Command/_sort
@@ -44,7 +44,7 @@ case $variant in
       "$ordering"{-h,--human-numeric-sort}'[compare human readable numbers (e.g., 2K 1G)]'
       "$ordering"{-R,--random-sort}'[sort by random hash of keys]'
       "$ordering"{-V,--version-sort}'[sort version numbers]'
-      "$ordering--sort=[sort according to ordering]:ordering:(general-numeric human-numeric month numeric random version)"
+      "$ordering--sort=[specify comparator]:comparator:(general-numeric human-numeric month numeric random version)"
       '(-i --ignore-nonprinting)'{-i,--ignore-nonprinting}'[consider only printable characters]'
       '--random-source=[get random bytes from file]:file:_files'
       '--batch-size=[maximum inputs to merge]:number'


Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author