about summary refs log tree commit diff
path: root/Completion/Unix/Command/_sort
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-08-28 23:16:54 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-08-29 17:32:10 +0200
commit245503929e0369e985e694684b557aef6d1432eb (patch)
tree56a50e092bf96d19d0d599615d7ce404a1d44aa7 /Completion/Unix/Command/_sort
parentfcb4f7956799c1e0803c0cb37ee3d17c230d7dcc (diff)
downloadzsh-245503929e0369e985e694684b557aef6d1432eb.tar.gz
zsh-245503929e0369e985e694684b557aef6d1432eb.tar.xz
zsh-245503929e0369e985e694684b557aef6d1432eb.zip
43346: various completion option updates
Diffstat (limited to 'Completion/Unix/Command/_sort')
-rw-r--r--Completion/Unix/Command/_sort6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_sort b/Completion/Unix/Command/_sort
index c81e6f856..dfd43ce55 100644
--- a/Completion/Unix/Command/_sort
+++ b/Completion/Unix/Command/_sort
@@ -4,8 +4,8 @@ local args variant
 local ordering='(-d --dictionary-order -g --general-numeric-sort -M --month-sort -h --human-numeric-sort -n --numeric-sort --sort -V --version-sort --help --version)'
 
 args=(
-  "(-c --check -C)-c[check whether input is sorted; don't sort]"
-  '(-m --merge)'{-m,--merge}"[merge already sorted files; don't sort]"
+  "(-c --check -C -m --merge -s --stable)-c[check whether input is sorted; don't sort]"
+  '(-c --check -C -m --merge)'{-m,--merge}"[merge already sorted files; don't sort]"
   '(-o --output)'{-o+,--output=}'[write result to file instead of standard output]:output file:_files'
   \*{-T+,--temporary-directory=}'[specify directory for temporary files]:directory:_directories'
   '(-u --unique)'{-u,--unique}'[with -c, check for strict ordering; without -c, output only the first of an equal run]'
@@ -26,7 +26,7 @@ case $variant in
       '(-s --stable)'{-s,--stable}'[preserve original order of lines with the same key]'
     )
   ;|
-  openbsd*|freebsd*|gnu|solaris2.<11->)
+  netbsd*|openbsd*|freebsd*|gnu|solaris2.<11->)
     args+=(
       "(-c --check -C)-C[check whether input is sorted silently; don't sort]"
     )