about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_sort2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7eb2a8786..4ce3987a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-03  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 41969: Completion/Unix/Command/_sort: Clarify option
+	description.
+
 2017-11-02  Oliver Kiddle  <opk@zsh.org>
 
 	* 41971: Completion/Linux/Command/_modutils,
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'