summary refs log tree commit diff
path: root/Completion/Unix/Command/_lsof
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
commit0ba8ae87eac21281e0b17eb9cbb523d133067a4a (patch)
tree614cc49ce90c3c2562f83d6739f8ea76dc75d7f0 /Completion/Unix/Command/_lsof
parent9181f0e3059862d2d8cc109bc849f8705cbbc23c (diff)
downloadzsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.gz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.xz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.zip
21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
Diffstat (limited to 'Completion/Unix/Command/_lsof')
-rw-r--r--Completion/Unix/Command/_lsof4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_lsof b/Completion/Unix/Command/_lsof
index 0e3bc7a1b..aca9963c2 100644
--- a/Completion/Unix/Command/_lsof
+++ b/Completion/Unix/Command/_lsof
@@ -27,7 +27,7 @@ _arguments -s -S \
   '(-s)-o[list file offset]' \
   '-O[avoid overheads of bypassing potential blocking]' \
   '-P[inhibit conversion of port numbers to port names]' \
-  '-p[list files for specified processes]:processes:_pids' \
+  '-p[list files for specified processes]:process ID:_pids' \
   '-r[repeat listing endlessly]::delay (seconds)' \
   '+r[repeat listing until no files listed]::delay (seconds)' \
   '-R[list parent PID]' \
@@ -35,7 +35,7 @@ _arguments -s -S \
   '-S[specify timeout for kernel functions that might deadlock]:timeout (seconds)' \
   '-T[select reporting of TCP/TPI info]::info type:((q\:queue\ length\ reporting s\:state\ reporting w\:window\ size\ reporting))' \
   '(+w -w)-t[terse output]' \
-  '-u[list files owned by specified users]:user list:_users' \
+  '-u[list files owned by specified users]:user:_users -S,' \
   '-U[list Unix domain socket files]' \
   '(-)-v[list version info]' \
   '-V[indicate unsuccessfully searched for items]' \