zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _sort: Clarify option description.
@ 2017-11-01 14:31 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2017-11-01 14:31 UTC (permalink / raw)
  To: zsh-workers

---
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-01 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 14:31 [PATCH] _sort: Clarify option description Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).